diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/builtin-report.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index fe4aadc9630f..12f8c868fcd7 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -384,11 +384,8 @@ got_map: | |||
384 | * the "[vdso]" dso, but for now lets use the old | 384 | * the "[vdso]" dso, but for now lets use the old |
385 | * trick of looking in the whole kernel symbol list. | 385 | * trick of looking in the whole kernel symbol list. |
386 | */ | 386 | */ |
387 | if ((long long)ip < 0) { | 387 | if ((long long)ip < 0) |
388 | map = kernel_map; | 388 | return kernel_maps__find_symbol(ip, mapp); |
389 | if (mapp) | ||
390 | *mapp = map; | ||
391 | } | ||
392 | } | 389 | } |
393 | dump_printf(" ...... dso: %s\n", | 390 | dump_printf(" ...... dso: %s\n", |
394 | map ? map->dso->long_name : "<not found>"); | 391 | map ? map->dso->long_name : "<not found>"); |