perf symbols: dsos__read_build_ids() should read both user and kernel buildids
Signed-off-by: Arnaldo 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: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
bc3abfb1b5
commit
8b4825bf8d
|
@ -938,8 +938,9 @@ static bool __dsos__read_build_ids(struct list_head *head)
|
|||
|
||||
bool dsos__read_build_ids(void)
|
||||
{
|
||||
return __dsos__read_build_ids(&dsos__kernel) ||
|
||||
__dsos__read_build_ids(&dsos__user);
|
||||
bool kbuildids = __dsos__read_build_ids(&dsos__kernel),
|
||||
ubuildids = __dsos__read_build_ids(&dsos__user);
|
||||
return kbuildids || ubuildids;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue