aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2010-04-12 13:17:00 -0400
committerArnaldo Carvalho de Melo <[email protected]>2010-04-14 17:26:14 -0300
commitdf0faf4be02996135bc3a06b4f34360449c78084 (patch)
treea881d7b195d1759e470c0c024c52221508067ebf /tools/perf/util/trace-event-scripting.c
parent48481938b02471d505296d7557ed296eb093d496 (diff)
perf probe: Use the last field name as the argument name
Set the last field name to the argument name when the argument is refering a data-structure member. e.g. ./perf probe --add 'vfs_read file->f_mode' Add new event: probe:vfs_read (on vfs_read with f_mode=file->f_mode) This probe records file->f_mode, but the argument name becomes "f_mode". This enables perf-trace command to parse trace event format correctly. Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Mike Galbraith <[email protected]> Cc: Frederic Weisbecker <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions