Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=218357 Splitting trace files having multiple buffer instances discards side-buffers . I.e., only the main buffer is preserved in the resulting split trace files. This patch-set intends to fix this. Also: - Fix a side issue preventing to provide start/end timestamps along with a time-window parameters. - Update trace-cmd split usage Pierre Gondois (5): trace-cmd: split: Small fixes trace-cmd: usage: Update usage for trace-cmd split trace-cmd: split: Store instances in local list trace-cmd: split: Add functions to generate temp files trace-cmd: split: Handle splitting files with multiple instances tracecmd/trace-split.c | 231 +++++++++++++++++++++++++++++------------ tracecmd/trace-usage.c | 3 +- 2 files changed, 167 insertions(+), 67 deletions(-) -- 2.25.1