Bug 203547 - Have trace-cmd record record the version of trace-cmd used
Summary: Have trace-cmd record record the version of trace-cmd used
Status: RESOLVED CODE_FIX
Alias: None
Product: Tools
Classification: Unclassified
Component: Trace-cmd/Kernelshark (show other bugs)
Hardware: All Linux
: P1 enhancement
Assignee: Default virtual assignee for Trace-cmd and kernelshark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-08 19:40 UTC by Steven Rostedt
Modified: 2019-06-18 16:28 UTC (History)
0 users

See Also:
Kernel Version: N/A
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Steven Rostedt 2019-05-08 19:40:24 UTC
When debugging a problem with a trace.dat file from someone, it would be useful to know what version of trace-cmd we are using. Perhaps record both the "version" as well as the git sha1 into the image, and save that as an option when creating trace.dat files, like it saves the uname.
Comment 1 Steven Rostedt 2019-06-18 16:28:37 UTC
Implemented by commits:

  8e35e58b2cba ("trace-cmd: Append metadata about trace-cmd's version when recording")

and

  a217a1462622 ("trace-cmd: Add trace-cmd report --version to extract version info")

Note You need to log in before you can comment on or make changes to this bug.