aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 40389c0e38c6..c349bdbb9474 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -52,9 +52,6 @@ static int exclude_other = 1;
52 52
53static char callchain_default_opt[] = "fractal,0.5"; 53static char callchain_default_opt[] = "fractal,0.5";
54 54
55static struct symbol_conf symbol_conf;
56
57
58static size_t 55static size_t
59callchain__fprintf_left_margin(FILE *fp, int left_margin) 56callchain__fprintf_left_margin(FILE *fp, int left_margin)
60{ 57{
@@ -705,7 +702,7 @@ static int __cmd_report(void)
705 int ret; 702 int ret;
706 struct perf_session *session; 703 struct perf_session *session;
707 704
708 session = perf_session__new(input_name, O_RDONLY, force, &symbol_conf); 705 session = perf_session__new(input_name, O_RDONLY, force);
709 if (session == NULL) 706 if (session == NULL)
710 return -ENOMEM; 707 return -ENOMEM;
711 708
@@ -864,7 +861,7 @@ static void setup_list(struct strlist **list, const char *list_str,
864 861
865int cmd_report(int argc, const char **argv, const char *prefix __used) 862int cmd_report(int argc, const char **argv, const char *prefix __used)
866{ 863{
867 if (symbol__init(&symbol_conf) < 0) 864 if (symbol__init() < 0)
868 return -1; 865 return -1;
869 866
870 argc = parse_options(argc, argv, options, report_usage, 0); 867 argc = parse_options(argc, argv, options, report_usage, 0);