diff options
author | Masami Hiramatsu <mhiramat@kernel.org> | 2016-08-25 18:24:27 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-09-01 14:44:13 +0200 |
commit | 1c20b1d15473a91e2fccecbcd2809d80ff4b4924 (patch) | |
tree | e602eeb42c3bd158e5c07c0b33b62fd372d1a6b1 /scripts/coccinelle/iterators | |
parent | perf config: Show default report configuration in example and docs (diff) | |
download | linux-1c20b1d15473a91e2fccecbcd2809d80ff4b4924.tar.xz linux-1c20b1d15473a91e2fccecbcd2809d80ff4b4924.zip |
perf probe: Show trace event definition
Add --definition/-D option for showing the trace-event definition in
stdout. This can be useful in debugging or combined with a shell script.
e.g.
----
# perf probe --definition 'do_sys_open $params'
p:probe/do_sys_open _text+2261728 dfd=%di:s32 filename=%si:u64 flags=%dx:s32 mode=%cx:u16
----
Suggested-and-Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/147214226712.23638.2240534040014013658.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/coccinelle/iterators')
0 files changed, 0 insertions, 0 deletions