diff options
author | Masami Hiramatsu <[email protected]> | 2010-04-12 13:17:08 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-04-14 17:26:28 -0300 |
commit | 93ccae7a2227466a0d071fe52c51319f2f34c365 (patch) | |
tree | ad98a4db74fff834ce79b83f21192713cc3665bc /tools/perf/util/trace-event-scripting.c | |
parent | df0faf4be02996135bc3a06b4f34360449c78084 (diff) |
tracing/kprobes: Support basic types on dynamic events
Support basic types of integer (u8, u16, u32, u64, s8, s16, s32, s64) in
kprobe tracer. With this patch, users can specify above basic types on
each arguments after ':'. If omitted, the argument type is set as
unsigned long (u32 or u64, arch-dependent).
e.g.
echo 'p account_system_time+0 hardirq_offset=%si:s32' > kprobe_events
adds a probe recording hardirq_offset in signed-32bits value on the
entry of account_system_time.
Cc: Ingo Molnar <[email protected]>
Cc: Steven Rostedt <[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