diff options
Diffstat (limited to 'tools/perf/builtin-kmem.c')
-rw-r--r-- | tools/perf/builtin-kmem.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-kmem.c b/tools/perf/builtin-kmem.c index 7323d9dfbce8..38b8ca900eda 100644 --- a/tools/perf/builtin-kmem.c +++ b/tools/perf/builtin-kmem.c | |||
@@ -491,11 +491,6 @@ static int __cmd_kmem(void) | |||
491 | if (!perf_session__has_traces(session, "kmem record")) | 491 | if (!perf_session__has_traces(session, "kmem record")) |
492 | goto out_delete; | 492 | goto out_delete; |
493 | 493 | ||
494 | if (perf_session__create_kernel_maps(session) < 0) { | ||
495 | pr_err("Problems creating kernel maps\n"); | ||
496 | return -1; | ||
497 | } | ||
498 | |||
499 | setup_pager(); | 494 | setup_pager(); |
500 | err = perf_session__process_events(session, &event_ops); | 495 | err = perf_session__process_events(session, &event_ops); |
501 | if (err != 0) | 496 | if (err != 0) |