perf/x86/intel: add support for PERF_SAMPLE_BRANCH_IND_JUMP
authorStephane Eranian <eranian@google.com>
Thu, 14 May 2015 21:09:59 +0000 (23:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 7 Jun 2015 14:08:27 +0000 (16:08 +0200)
commit7b74cfb2ecb4d56a25c89cdb561e4926db85feb1
tree2b610ce2bf2e501a45c881b6c4f97b823dc0395b
parentc9fdfa14c3792c0160849c484e83aa57afd80ccc
perf/x86/intel: add support for PERF_SAMPLE_BRANCH_IND_JUMP

This patch enables support for branch sampling filter
for indirect jumps (IND_JUMP). It enables LBR IND_JMP
filtering where available. There is also software filtering
support.

Signed-off-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@redhat.com
Cc: dsahern@gmail.com
Cc: jolsa@redhat.com
Cc: kan.liang@intel.com
Cc: namhyung@kernel.org
Link: http://lkml.kernel.org/r/1431637800-31061-3-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_intel_lbr.c