aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r--tools/perf/builtin-trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 07ad25ca654f..e2285e28720f 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -579,13 +579,13 @@ int cmd_trace(int argc, const char **argv, const char *prefix __used)
579 exit(-1); 579 exit(-1);
580 } 580 }
581 581
582 symbol__init();
583
584 setup_scripting(); 582 setup_scripting();
585 583
586 argc = parse_options(argc, argv, options, annotate_usage, 584 argc = parse_options(argc, argv, options, annotate_usage,
587 PARSE_OPT_STOP_AT_NON_OPTION); 585 PARSE_OPT_STOP_AT_NON_OPTION);
588 586
587 if (symbol__init() < 0)
588 return -1;
589 setup_pager(); 589 setup_pager();
590 590
591 session = perf_session__new(input_name, O_RDONLY, 0); 591 session = perf_session__new(input_name, O_RDONLY, 0);