diff options
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[] = { | |||
518 | 518 | ||
519 | int cmd_annotate(int argc, const char **argv, const char *prefix __used) | 519 | int cmd_annotate(int argc, const char **argv, const char *prefix __used) |
520 | { | 520 | { |
521 | argc = parse_options(argc, argv, options, annotate_usage, 0); | ||
522 | |||
521 | symbol_conf.priv_size = sizeof(struct sym_priv); | 523 | symbol_conf.priv_size = sizeof(struct sym_priv); |
522 | symbol_conf.try_vmlinux_path = true; | 524 | symbol_conf.try_vmlinux_path = true; |
523 | 525 | ||
524 | if (symbol__init() < 0) | 526 | if (symbol__init() < 0) |
525 | return -1; | 527 | return -1; |
526 | 528 | ||
527 | argc = parse_options(argc, argv, options, annotate_usage, 0); | ||
528 | |||
529 | setup_sorting(annotate_usage, options); | 529 | setup_sorting(annotate_usage, options); |
530 | 530 | ||
531 | if (argc) { | 531 | if (argc) { |