perf/x86: Add Intel LBR mappings for PERF_SAMPLE_BRANCH filters
authorStephane Eranian <eranian@google.com>
Thu, 9 Feb 2012 22:20:55 +0000 (23:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 5 Mar 2012 13:55:41 +0000 (14:55 +0100)
commitc5cc2cd906ea9fe73e3c93f9ad824996faa278cc
treec61d6ba7c7725409217ca288a010125cb1054792
parentff3fb511ba377e8a0a7f553cc352237f70d08121
perf/x86: Add Intel LBR mappings for PERF_SAMPLE_BRANCH filters

This patch adds the mappings from the generic PERF_SAMPLE_BRANCH_*
filters to the actual Intel x86LBR filters, whenever they exist.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1328826068-11713-6-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event.h
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_intel_lbr.c