• Naga Chumbalkar's avatar
    oprofile/x86: add comment to counter-in-use warning · 8588d106
    Naga Chumbalkar authored
    Currently, oprofile fails silently on platforms where a non-OS entity
    such as the system firmware "enables" and uses a performance
    counter. There is a warning in the code for this case.
    
    The warning indicates an already running counter. If oprofile doesn't
    collect data, then try using a different performance counter on your
    platform to monitor the desired event. Delete the counter from the
    desired event by editing the
    
     /usr/share/oprofile/<cpu_type>/<cpu>/events
    
    file. If the event cannot be monitored by any other counter, contact
    your hardware or BIOS vendor.
    
    Cc: Shashi Belur <shashi-kiran.belur@hp.com>
    Cc: Tony Jones <tonyj@suse.de>
    Signed-off-by: default avatarNaga Chumbalkar <nagananda.chumbalkar@hp.com>
    Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
    8588d106
op_x86_model.h 2.56 KB