perf tools: Pass build_id object to dso__set_build_id()
[linux-2.6-microblaze.git] / tools / perf / util / symbol.c
index 369cbad..976632d 100644 (file)
@@ -1818,7 +1818,7 @@ int dso__load(struct dso *dso, struct map *map)
            is_regular_file(dso->long_name)) {
            __symbol__join_symfs(name, PATH_MAX, dso->long_name);
                if (filename__read_build_id(name, &bid) > 0)
-                       dso__set_build_id(dso, bid.data);
+                       dso__set_build_id(dso, &bid);
        }
 
        /*