aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorStephane Eranian <[email protected]>2015-10-13 07:09:11 +0000
committerIngo Molnar <[email protected]>2015-10-20 08:30:55 +0000
commit43e41adc9e8c36545888d78fed2ef8d102a938dc (patch)
tree0051dce83d96592204b55d24d5b2ff114d983857 /tools/perf/builtin-script.c
parentperf/powerpc: Add support for PERF_SAMPLE_BRANCH_CALL (diff)
downloadkernel-43e41adc9e8c36545888d78fed2ef8d102a938dc.tar.gz
kernel-43e41adc9e8c36545888d78fed2ef8d102a938dc.zip
perf record: Add ability to sample call branches
This patch add a new branch type sampling filter to perf record. It is named 'call' and maps to PERF_SAMPLE_BRANCH_CALL. It samples direct call branches only, unlike 'any_call' which includes indirect calls as well. $ perf record -j call -e cycles ..... The man page is updated accordingly. Signed-off-by: Stephane Eranian <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Vince Weaver <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions