Commit 8b4825bf authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by Ingo Molnar

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

Signed-off-by: default avatarArnaldo 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: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment