diff options
Diffstat (limited to 'tools/perf/util/build-id.c')
-rw-r--r-- | tools/perf/util/build-id.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/build-id.c b/tools/perf/util/build-id.c index bff425e1232c..67e5966503b2 100644 --- a/tools/perf/util/build-id.c +++ b/tools/perf/util/build-id.c | |||
@@ -256,7 +256,7 @@ static int machine__write_buildid_table(struct machine *machine, int fd) | |||
256 | size_t name_len; | 256 | size_t name_len; |
257 | bool in_kernel = false; | 257 | bool in_kernel = false; |
258 | 258 | ||
259 | if (!pos->hit) | 259 | if (!pos->hit && !dso__is_vdso(pos)) |
260 | continue; | 260 | continue; |
261 | 261 | ||
262 | if (dso__is_vdso(pos)) { | 262 | if (dso__is_vdso(pos)) { |