aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-event.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2010-05-19 15:57:35 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-05 18:47:28 -0300
commit73317b954041031249e8968d2e9023ff4e960d99 (patch)
tree44768b7724bacbb15c54057710c70accce1cd8c3 /tools/perf/util/probe-event.c
parenttracing/kprobes: Support "string" type (diff)
downloadlinux-dev-73317b954041031249e8968d2e9023ff4e960d99.tar.xz
linux-dev-73317b954041031249e8968d2e9023ff4e960d99.zip
perf probe: Support "string" type
Support string type casting to event argument. If perf-probe finds an argument casted as string, it ensures the target variable is "(unsigned/signed) char *(or []). perf-probe also adds dereference if the target is a pointer. So, both of 'char buf[10];' and 'char *buf;' can be accessed by 'buf:string' Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mike Galbraith <efault@gmx.de> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20100519195734.2885.1666.stgit@localhost6.localdomain6> Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-event.c')
0 files changed, 0 insertions, 0 deletions