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

perf symbols: dsos__read_build_ids() should read both user and kernel buildids

Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1260396578-19116-1-git-send-email-acme@infradead.org>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 bc3abfb1
...@@ -938,8 +938,9 @@ static bool __dsos__read_build_ids(struct list_head *head) ...@@ -938,8 +938,9 @@ static bool __dsos__read_build_ids(struct list_head *head)
bool dsos__read_build_ids(void) bool dsos__read_build_ids(void)
{ {
return __dsos__read_build_ids(&dsos__kernel) || bool kbuildids = __dsos__read_build_ids(&dsos__kernel),
__dsos__read_build_ids(&dsos__user); ubuildids = __dsos__read_build_ids(&dsos__user);
return kbuildids || ubuildids;
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册