Commit f162f87a authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar
Browse files

perf symbols: Set dso->kernel when handling the fake vmlinux MMAP event

Because it may be possible that there was no buildid section,
where we would set this to 1.

Found while analysing a file collected on an ARM
machine where an explicitely specified vmlinux was being
Reported-by: default avatarJamie Iles <>
Signed-off-by: default avatarArnaldo Carvalho de Melo <>
Cc: Frédéric Weisbecker <>
Cc: Mike Galbraith <>
Cc: Peter Zijlstra <>
Cc: Paul Mackerras <>
LKML-Reference: <>
Signed-off-by: default avatarIngo Molnar <>
parent d5526d8c
......@@ -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,
kernel) < 0)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment