diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-03-24 15:40:16 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-03-26 03:52:56 -0400 |
commit | ac73c5a9c1767b2771e6d2b5accafdef89db04c2 (patch) | |
tree | 9db16a0a34bde6f1ef2bc90e184c00dbf3e82bc6 /tools | |
parent | 96415e4d3f5fdf9cdb12eedfcbc58152b1e1458c (diff) |
perf annotate: Allow specifying DSOs where to look for symbol
Using the same parameter as in 'perf report', allowing to
specify just one and disambiguate between DSOs that have the
symbol of interest.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269459619-982-3-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 45d14660d53d..ce9b1ef784b0 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -591,6 +591,8 @@ static const char * const annotate_usage[] = { | |||
591 | static const struct option options[] = { | 591 | static const struct option options[] = { |
592 | OPT_STRING('i', "input", &input_name, "file", | 592 | OPT_STRING('i', "input", &input_name, "file", |
593 | "input file name"), | 593 | "input file name"), |
594 | OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]", | ||
595 | "only consider symbols in these dsos"), | ||
594 | OPT_STRING('s', "symbol", &sym_hist_filter, "symbol", | 596 | OPT_STRING('s', "symbol", &sym_hist_filter, "symbol", |
595 | "symbol to annotate"), | 597 | "symbol to annotate"), |
596 | OPT_BOOLEAN('f', "force", &force, "don't complain, do it"), | 598 | OPT_BOOLEAN('f', "force", &force, "don't complain, do it"), |