diff options
-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) | |||
938 | 938 | ||
939 | bool dsos__read_build_ids(void) | 939 | bool dsos__read_build_ids(void) |
940 | { | 940 | { |
941 | return __dsos__read_build_ids(&dsos__kernel) || | 941 | bool kbuildids = __dsos__read_build_ids(&dsos__kernel), |
942 | __dsos__read_build_ids(&dsos__user); | 942 | ubuildids = __dsos__read_build_ids(&dsos__user); |
943 | return kbuildids || ubuildids; | ||
943 | } | 944 | } |
944 | 945 | ||
945 | /* | 946 | /* |