Bug 472974

Summary: callgrind output files should include buildids of binaries
Product: [Developer tools] valgrind Reporter: Frank Ch. Eigler <fche>
Component: callgrindAssignee: Josef Weidendorfer <josef.weidendorfer>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.