perf record: Add support for sampling indirect jumps
authorStephane Eranian <[email protected]>
Thu, 14 May 2015 21:10:00 +0000 (23:10 +0200)
committerIngo Molnar <[email protected]>
Sun, 7 Jun 2015 14:08:31 +0000 (16:08 +0200)
commit5b68164d6a1fdbe02b30bd777d1f686c6d901f28
treec478f71bfb2e0dbdce6523dea40c948eb38b22d4
parent7b74cfb2ecb4d56a25c89cdb561e4926db85feb1
perf record: Add support for sampling indirect jumps

This patch adds a new branch sampling type support for indirect jumps:

  perf record -j ind_jmp .......

It enables analysis of indirect jumps targets. It requires kernel and
possibly hardware support to operate correctly.

Signed-off-by: Stephane Eranian <[email protected]>
[ Fixup against: f00898f4e20b (perf tools: Move branch option parsing to own file) ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Andi Kleen <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
tools/perf/util/parse-branch-options.c