diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2010-05-19 15:57:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-07-05 18:47:28 -0300 |
commit | 73317b954041031249e8968d2e9023ff4e960d99 (patch) | |
tree | 44768b7724bacbb15c54057710c70accce1cd8c3 /tools/perf/util/probe-event.c | |
parent | e09c8614b32915c16f68e039ac7040e602d73e35 (diff) | |
download | op-kernel-dev-73317b954041031249e8968d2e9023ff4e960d99.zip op-kernel-dev-73317b954041031249e8968d2e9023ff4e960d99.tar.gz |
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