diff options
author | Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> | 2010-10-21 06:13:35 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-10-21 14:06:42 -0400 |
commit | fb8c5a56c7ddbc2b0d2ee7a8da60fe1355f75141 (patch) | |
tree | 0d7575627d9fbcdeb642fbcb6ed84744fe9763f5 /tools/perf/util/probe-event.h | |
parent | c82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c (diff) |
perf probe: Show accessible global variables
Add --externs for allowing --vars to show accessible global (externally
defined) variables from a given probe point too.
This will give you a hint which globals can be accessible from the probe point.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20101021101335.3542.31003.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/probe-event.h')
-rw-r--r-- | tools/perf/util/probe-event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/probe-event.h b/tools/perf/util/probe-event.h index 83130f634f01..c74b1fd2c1fa 100644 --- a/tools/perf/util/probe-event.h +++ b/tools/perf/util/probe-event.h | |||
@@ -122,7 +122,7 @@ extern int del_perf_probe_events(struct strlist *dellist); | |||
122 | extern int show_perf_probe_events(void); | 122 | extern int show_perf_probe_events(void); |
123 | extern int show_line_range(struct line_range *lr); | 123 | extern int show_line_range(struct line_range *lr); |
124 | extern int show_available_vars(struct perf_probe_event *pevs, int npevs, | 124 | extern int show_available_vars(struct perf_probe_event *pevs, int npevs, |
125 | int max_probe_points); | 125 | int max_probe_points, bool externs); |
126 | 126 | ||
127 | 127 | ||
128 | /* Maximum index number of event-name postfix */ | 128 | /* Maximum index number of event-name postfix */ |