perf trace: Allow specifying which syscalls to trace
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: 2ae3a312c0ccd8ff615372f00aab1700aac27474 Gitweb: http://git.kernel.org/tip/2ae3a312c0ccd8ff615372f00aab1700aac27474 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Fri, 9 Aug 2013 12:28:31 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 14 Aug 2013 11:44:21 -0300
perf trace: Allow specifying which syscalls to trace
Similar to -e in strace, i.e. a comma separated list of syscall names to trace.
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Stephane Eranian <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/Documentation/perf-trace.txt | 4 +++ tools/perf/builtin-trace.c | 52 +++++++++++++++++++++++++++++---- 2 files changed, 50 insertions(+), 6 deletions(-)
tools/perf/Documentation/perf-trace.txt +4 -0
@@ -26,6 +26,10 @@ OPTIONS --all-cpus:: System-wide collection from all CPUs. +-e:: +--expr:: + List of events to show, currently only syscall names. + -p:: --pid=:: Record events on existing process ID (comma separated list).
tools/perf/builtin-trace.c +46 -6
105 lines not on this page · raw message