diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 7bb9ca1b30fa..90345223908c 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -477,11 +477,6 @@ static int __cmd_record(int argc, const char **argv) | |||
477 | return -1; | 477 | return -1; |
478 | } | 478 | } |
479 | 479 | ||
480 | if (perf_session__create_kernel_maps(session) < 0) { | ||
481 | pr_err("Problems creating kernel maps\n"); | ||
482 | return -1; | ||
483 | } | ||
484 | |||
485 | if (!file_new) { | 480 | if (!file_new) { |
486 | err = perf_header__read(&session->header, output); | 481 | err = perf_header__read(&session->header, output); |
487 | if (err < 0) | 482 | if (err < 0) |