diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2010-03-17 01:06:05 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-17 13:32:31 +0300 |
commit | f4d7da499e4fc1fdff8f26fdeb1a058d475a7a6c (patch) | |
tree | 5ca14cb193ccc56c675a95ab8b97d6515575c83d /tools/perf/builtin-probe.c | |
parent | 016f262e4fb10c6ecff709317098912f94a21efa (diff) | |
download | linux-f4d7da499e4fc1fdff8f26fdeb1a058d475a7a6c.tar.xz |
perf probe: Add --dry-run option
Add --dry-run option for debugging and testing.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20100316220605.32050.6571.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-probe.c')
-rw-r--r-- | tools/perf/builtin-probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index f577e1410362..a1a2891ca66f 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c @@ -175,6 +175,7 @@ static const struct option options[] = { "FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]", "Show source code lines.", opt_show_lines), #endif + OPT__DRY_RUN(&probe_event_dry_run), OPT_END() }; |