Bug 472974 - callgrind output files should include buildids of binaries
Summary: callgrind output files should include buildids of binaries
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: callgrind (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 18:50 UTC by Frank Ch. Eigler
Modified: 2023-08-03 18:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Ch. Eigler 2023-08-03 18:50:42 UTC
The cob= / ob= outputs in the callgrind format include file names to identify the programs that were profiled.
It would be handy if another field could also include the elf buildid of those binaries, so that callgrind files could become more portable / timeless, wherein they don't require the exact same file versions to be installed.  Instead consumer tools could consult debuginfod or similar to fetch the correct executable/debuginfo/source code, by their unique buildid.