Bug 473148 - include the git hash in the report
Summary: include the git hash in the report
Status: REPORTED
Alias: None
Product: valgrind
Classification: Developer tools
Component: callgrind (other bugs)
Version First Reported In: 3.21.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-08 12:17 UTC by b2.temp
Modified: 2023-08-08 12:17 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 b2.temp 2023-08-08 12:17:28 UTC
It would be nice if callgrind reports could include a special line, in the form of a comment that specifies the git hash, if applicable, of the application being run.

That feature would only work if the binary executed by callgrind is located in a git repository and would consist into adding

# git revision: <git-hash>

in the report.

That feature would be usefull when the user keeps several reports in his git repository but does not remind exactly which one matches to a given revision.