• P
    perf, x86: Clean up IA32_PERF_CAPABILITIES usage · 8db909a7
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@elte.hu>
    8db909a7
perf_event.c 36.1 KB