diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-09 20:09:37 -0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-10 08:30:28 +0100 |
commit | 8b4825bf8da5c07e80496b749e9a50d675df4119 (patch) | |
tree | 39bad87854ae8512e0f313962f9c7b4eb35c0ee6 /tools | |
parent | bc3abfb1b50964ffbbd0fc4e1ffe598b1b63a8c7 (diff) | |
download | blackbird-op-linux-8b4825bf8da5c07e80496b749e9a50d675df4119.tar.gz blackbird-op-linux-8b4825bf8da5c07e80496b749e9a50d675df4119.zip |
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>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/perf/util/symbol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index fffcb937cdcb..e7508ad3450f 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -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; } /* |