perf tools: Use build_id object in dso
[linux-2.6-microblaze.git] / tools / perf / util / header.c
index 9cf4efd..cde8f6e 100644 (file)
@@ -2095,7 +2095,7 @@ static int __event_process_build_id(struct perf_record_header_build_id *bev,
                        free(m.name);
                }
 
-               build_id__sprintf(dso->build_id, sizeof(dso->build_id),
+               build_id__sprintf(dso->bid.data, sizeof(dso->bid.data),
                                  sbuild_id);
                pr_debug("build id event received for %s: %s\n",
                         dso->long_name, sbuild_id);