diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2009-12-15 22:04:40 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-12-16 07:53:49 +0000 |
| commit | 655000e7c75a559681ee7f15f6fa870c80ae3194 (patch) | |
| tree | 69a56e19c818b0929dbea8d119fa133853c5ee80 /tools/perf/builtin-annotate.c | |
| parent | perf symbols: Make symbol_conf global (diff) | |
| download | kernel-655000e7c75a559681ee7f15f6fa870c80ae3194.tar.gz kernel-655000e7c75a559681ee7f15f6fa870c80ae3194.zip | |
perf symbols: Adopt the strlists for dso, comm
Will be used in perf diff too.
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Frédéric Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index e656e25f1c14..645d58058431 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -518,14 +518,14 @@ static const struct option options[] = { int cmd_annotate(int argc, const char **argv, const char *prefix __used) { + argc = parse_options(argc, argv, options, annotate_usage, 0); + symbol_conf.priv_size = sizeof(struct sym_priv); symbol_conf.try_vmlinux_path = true; if (symbol__init() < 0) return -1; - argc = parse_options(argc, argv, options, annotate_usage, 0); - setup_sorting(annotate_usage, options); if (argc) { |
