From: Arnaldo Carvalho de Melo Date: Wed, 9 Dec 2009 22:09:37 +0000 (-0200) Subject: perf symbols: dsos__read_build_ids() should read both user and kernel buildids X-Git-Tag: upstream/snapshot3+hdmi~16109^2~71 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b4825bf8da5c07e80496b749e9a50d675df4119;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git perf symbols: dsos__read_build_ids() should read both user and kernel buildids Signed-off-by: Arnaldo Carvalho de Melo Cc: Frédéric Weisbecker Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Paul Mackerras LKML-Reference: <1260396578-19116-1-git-send-email-acme@infradead.org> Signed-off-by: Ingo Molnar --- diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index fffcb93..e7508ad 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; } /*