perf symbols: Set dso->kernel when handling the fake vmlinux MMAP event
[linux-2.6.git] / tools / perf / util / event.c
index dc13cad..bbaee61 100644 (file)
@@ -373,6 +373,7 @@ int event__process_mmap(event_t *self, struct perf_session *session)
                        if (kernel == NULL)
                                goto out_problem;
 
+                       kernel->kernel = 1;
                        if (__map_groups__create_kernel_maps(&session->kmaps,
                                                             session->vmlinux_maps,
                                                             kernel) < 0)