]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type
authorStephane Eranian <eranian@google.com>
Thu, 14 May 2015 21:09:58 +0000 (23:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 7 Jun 2015 14:08:22 +0000 (16:08 +0200)
commitc9fdfa14c3792c0160849c484e83aa57afd80ccc
tree193639351164764a6a3b380b36848b29b9a7d66c
parent519ce9fec9ac2322cacc207bdaae45afa1bc9e9d
perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type

This patch adds a new branch_sample_type flag to enable
filtering branch sampling to indirect jumps. The support
is subject to hardware or kernel software support on each
architecture.

Filtering on indirect jump is useful to study the targets
of the jump.

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-2-git-send-email-eranian@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/uapi/linux/perf_event.h