• Peter Zijlstra's avatar
    perf, x86: Clean up IA32_PERF_CAPABILITIES usage · 8db909a7
    Peter Zijlstra authored
    Saner PERF_CAPABILITIES support, which also exposes pebs_trap. Use that
    latter to make PEBS's use of LBR conditional since a fault-like pebs
    should already report the correct IP.
    
    ( As of this writing there is no known hardware that implements
      !pebs_trap )
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
    Cc: paulus@samba.org
    Cc: eranian@google.com
    Cc: robert.richter@amd.com
    Cc: fweisbec@gmail.com
    LKML-Reference: <20100304140100.770650663@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    8db909a7
perf_event_intel.c 24 KB