projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96415e4
)
perf annotate: Allow specifying DSOs where to look for symbol
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Wed, 24 Mar 2010 19:40:16 +0000
(16:40 -0300)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 26 Mar 2010 07:52:56 +0000
(08:52 +0100)
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>
tools/perf/builtin-annotate.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/builtin-annotate.c
b/tools/perf/builtin-annotate.c
index 45d14660d53db2c1c9830284d83ae07e1fe91307..ce9b1ef784b004e5e5d1b0d190a91e00643dfda6 100644
(file)
--- a/
tools/perf/builtin-annotate.c
+++ b/
tools/perf/builtin-annotate.c
@@
-591,6
+591,8
@@
static const char * const annotate_usage[] = {
static const struct option options[] = {
OPT_STRING('i', "input", &input_name, "file",
"input file name"),
+ OPT_STRING('d', "dsos", &symbol_conf.dso_list_str, "dso[,dso...]",
+ "only consider symbols in these dsos"),
OPT_STRING('s', "symbol", &sym_hist_filter, "symbol",
"symbol to annotate"),
OPT_BOOLEAN('f', "force", &force, "don't complain, do it"),