Bug 203547

Summary: Have trace-cmd record record the version of trace-cmd used
Product: Tools Reporter: Steven Rostedt (rostedt)
Component: Trace-cmd/KernelsharkAssignee: Default virtual assignee for Trace-cmd and kernelshark (tools_tracecmd_kernelshark)
Status: RESOLVED CODE_FIX    
Severity: enhancement    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: N/A Subsystem:
Regression: No Bisected commit-id:

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")