Changed the trace file version to 7 and added support for choosing the desired file version. v2 changes: - Include "Check if file version is supported" patch in the set, as other patches depend on it. - Reorganized the order of the patches, put the clean up patch "Remove unused private APIs for creating trace files" first. Tzvetomir Stoyanov (VMware) (7): trace-cmd library: Remove unused private APIs for creating trace files trace-cmd: Check if file version is supported trace-cmd library: Bump the trace file version to 7 trace-cmd library: Add new API to get file version of input handler trace-cmd library: Select the file version when writing trace file trace-cmd library: Extend the create file APIs to support different file version trace-cmd record: Add new parameter --file-version .../include/private/trace-cmd-private.h | 29 +++--- lib/trace-cmd/include/trace-cmd-local.h | 2 +- lib/trace-cmd/trace-input.c | 19 ++++ lib/trace-cmd/trace-output.c | 98 ++++++++++--------- lib/trace-cmd/trace-util.c | 7 ++ tracecmd/trace-dump.c | 7 ++ tracecmd/trace-record.c | 25 +++-- tracecmd/trace-restore.c | 4 +- tracecmd/trace-usage.c | 1 + 9 files changed, 121 insertions(+), 71 deletions(-) -- 2.30.2