提交 c3b32fcb 编写于 作者: A Arnaldo Carvalho de Melo 提交者: Ingo Molnar

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: NArnaldo 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: NIngo Molnar <mingo@elte.hu>
上级 a2a99e8e
......@@ -384,11 +384,8 @@ resolve_symbol(struct thread *thread, struct map **mapp, u64 *ipp)
* the "[vdso]" dso, but for now lets use the old
* trick of looking in the whole kernel symbol list.
*/
if ((long long)ip < 0) {
map = kernel_map;
if (mapp)
*mapp = map;
}
if ((long long)ip < 0)
return kernel_maps__find_symbol(ip, mapp);
}
dump_printf(" ...... dso: %s\n",
map ? map->dso->long_name : "<not found>");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册