diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/util/event.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c index dc13cad828d7..bbaee61c1683 100644 --- a/tools/perf/util/event.c +++ b/tools/perf/util/event.c | |||
@@ -373,6 +373,7 @@ int event__process_mmap(event_t *self, struct perf_session *session) | |||
373 | if (kernel == NULL) | 373 | if (kernel == NULL) |
374 | goto out_problem; | 374 | goto out_problem; |
375 | 375 | ||
376 | kernel->kernel = 1; | ||
376 | if (__map_groups__create_kernel_maps(&session->kmaps, | 377 | if (__map_groups__create_kernel_maps(&session->kmaps, |
377 | session->vmlinux_maps, | 378 | session->vmlinux_maps, |
378 | kernel) < 0) | 379 | kernel) < 0) |