perf symbols: Store vdso buildid unconditionally
[linux-2.6-block.git] / tools / perf / util / build-id.c
index bff425e1232cdcb99f362e1b7d5971e5d1121a23..67e5966503b21099688d3f90cf903b2d58d196df 100644 (file)
@@ -256,7 +256,7 @@ static int machine__write_buildid_table(struct machine *machine, int fd)
                size_t name_len;
                bool in_kernel = false;
 
-               if (!pos->hit)
+               if (!pos->hit && !dso__is_vdso(pos))
                        continue;
 
                if (dso__is_vdso(pos)) {