mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-08 07:35:04 +00:00
perf report: Use kernel_maps__find_symbol as fallback to find vdsos, etc
In resolve_symbol, as we're moving to breaking the kernel symbols list per address ranges, i.e. kernel linking sections, so that we don't have a big kernel_map that in its range covers what is in the modules. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Mike Galbraith <efault@gmx.de> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
a2a99e8e12
commit
c3b32fcbc7
1 changed files with 2 additions and 5 deletions
|
@ -384,11 +384,8 @@ got_map:
|
||||||
* the "[vdso]" dso, but for now lets use the old
|
* the "[vdso]" dso, but for now lets use the old
|
||||||
* trick of looking in the whole kernel symbol list.
|
* trick of looking in the whole kernel symbol list.
|
||||||
*/
|
*/
|
||||||
if ((long long)ip < 0) {
|
if ((long long)ip < 0)
|
||||||
map = kernel_map;
|
return kernel_maps__find_symbol(ip, mapp);
|
||||||
if (mapp)
|
|
||||||
*mapp = map;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dump_printf(" ...... dso: %s\n",
|
dump_printf(" ...... dso: %s\n",
|
||||||
map ? map->dso->long_name : "<not found>");
|
map ? map->dso->long_name : "<not found>");
|
||||||
|
|
Loading…
Add table
Reference in a new issue