perf tools: Pass build_id object to dso__set_build_id()
[linux-2.6-microblaze.git] / tools / perf / util / symbol-minimal.c
index dba6b9e..f9eb0be 100644 (file)
@@ -349,7 +349,7 @@ int dso__load_sym(struct dso *dso, struct map *map __maybe_unused,
                dso->is_64_bit = ret;
 
        if (filename__read_build_id(ss->name, &bid) > 0)
-               dso__set_build_id(dso, bid.data);
+               dso__set_build_id(dso, &bid);
        return 0;
 }