aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 78f9c4576a0c..1fc018e048e1 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -1191,11 +1191,6 @@ static int __cmd_top(void)
1191 if (session == NULL) 1191 if (session == NULL)
1192 return -ENOMEM; 1192 return -ENOMEM;
1193 1193
1194 if (perf_session__create_kernel_maps(session) < 0) {
1195 pr_err("Problems creating kernel maps\n");
1196 return -1;
1197 }
1198
1199 if (target_pid != -1) 1194 if (target_pid != -1)
1200 event__synthesize_thread(target_pid, event__process, session); 1195 event__synthesize_thread(target_pid, event__process, session);
1201 else 1196 else