diff options
Diffstat (limited to 'tools/perf/util/data_map.c')
-rw-r--r-- | tools/perf/util/data_map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/data_map.c b/tools/perf/util/data_map.c index 5543e7d0487d..a444a2645c85 100644 --- a/tools/perf/util/data_map.c +++ b/tools/perf/util/data_map.c | |||
@@ -171,7 +171,7 @@ int mmap_dispatch_perf_file(struct perf_header **pheader, | |||
171 | goto out_delete; | 171 | goto out_delete; |
172 | 172 | ||
173 | err = -ENOMEM; | 173 | err = -ENOMEM; |
174 | if (load_kernel(NULL) < 0) { | 174 | if (load_kernel(NULL, 1) < 0) { |
175 | pr_err("failed to load kernel symbols\n"); | 175 | pr_err("failed to load kernel symbols\n"); |
176 | goto out_delete; | 176 | goto out_delete; |
177 | } | 177 | } |