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