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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 5498eacf8fc6..f4ddd14b8a9b 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -1885,7 +1885,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv)
1885 err = trace__symbols_init(trace, evlist); 1885 err = trace__symbols_init(trace, evlist);
1886 if (err < 0) { 1886 if (err < 0) {
1887 fprintf(trace->output, "Problems initializing symbol libraries!\n"); 1887 fprintf(trace->output, "Problems initializing symbol libraries!\n");
1888 goto out_delete_maps; 1888 goto out_delete_evlist;
1889 } 1889 }
1890 1890
1891 perf_evlist__config(evlist, &trace->opts); 1891 perf_evlist__config(evlist, &trace->opts);
@@ -1898,7 +1898,7 @@ static int trace__run(struct trace *trace, int argc, const char **argv)
1898 argv, false, NULL); 1898 argv, false, NULL);
1899 if (err < 0) { 1899 if (err < 0) {
1900 fprintf(trace->output, "Couldn't run the workload!\n"); 1900 fprintf(trace->output, "Couldn't run the workload!\n");
1901 goto out_delete_maps; 1901 goto out_delete_evlist;
1902 } 1902 }
1903 } 1903 }
1904 1904
@@ -1996,8 +1996,6 @@ out_disable:
1996 perf_evlist__munmap(evlist); 1996 perf_evlist__munmap(evlist);
1997out_close_evlist: 1997out_close_evlist:
1998 perf_evlist__close(evlist); 1998 perf_evlist__close(evlist);
1999out_delete_maps:
2000 perf_evlist__delete_maps(evlist);
2001out_delete_evlist: 1999out_delete_evlist:
2002 perf_evlist__delete(evlist); 2000 perf_evlist__delete(evlist);
2003out: 2001out: