linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/7] trace-cmd: split: Handle splitting files with multiple instances
@ 2024-01-22 16:43 Pierre Gondois
  2024-01-22 16:43 ` [PATCH v2 1/7] trace-cmd split: Small fixes Pierre Gondois
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Pierre Gondois @ 2024-01-22 16:43 UTC (permalink / raw)
  To: Linux Trace Devel; +Cc: Steven Rostedt, Pierre Gondois

V2:
- Add 'trace-cmd split: Enable support for buffer selection' to
  handle instance selection with the 'trace-cmd' split command.
- Rename patches as 'trace-cmd: split' -> 'trace-cmd split'.
- Correctly free allocated memory in different lists.

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.

As a continuation of the bugzilla, support to allow selecting
buffer instances is added to the 'trace-cmd split' command [1].
This support implies adding new '-B/--top' parameters.

Also:
- Fix a side issue preventing to provide start/end timestamps
  along with a time-window parameters.
- Update trace-cmd split usage

[1] https://lore.kernel.org/all/20240119122511.440d8f0a@gandalf.local.home/

Pierre Gondois (7):
  trace-cmd split: Small fixes
  trace-cmd split: Correctly split with start/end/time-window parameters
  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
  trace-cmd split: Enable support for buffer selection
  trace-cmd split: Update usage

 tracecmd/trace-split.c | 517 +++++++++++++++++++++++++++++++++--------
 tracecmd/trace-usage.c |   9 +-
 2 files changed, 434 insertions(+), 92 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2024-01-24 22:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-22 16:43 [PATCH v2 0/7] trace-cmd: split: Handle splitting files with multiple instances Pierre Gondois
2024-01-22 16:43 ` [PATCH v2 1/7] trace-cmd split: Small fixes Pierre Gondois
2024-01-22 16:43 ` [PATCH v2 2/7] trace-cmd split: Correctly split with start/end/time-window parameters Pierre Gondois
2024-01-23  1:51   ` Steven Rostedt
2024-01-24 17:28   ` Steven Rostedt
2024-01-22 16:43 ` [PATCH v2 3/7] trace-cmd split: Store instances in local list Pierre Gondois
2024-01-23  0:17   ` Steven Rostedt
2024-01-22 16:43 ` [PATCH v2 4/7] trace-cmd split: Add functions to generate temp files Pierre Gondois
2024-01-23  0:20   ` Steven Rostedt
2024-01-22 16:43 ` [PATCH v2 5/7] trace-cmd split: Handle splitting files with multiple instances Pierre Gondois
2024-01-23  0:23   ` Steven Rostedt
2024-01-23 13:44     ` Pierre Gondois
2024-01-22 16:43 ` [PATCH v2 6/7] trace-cmd split: Enable support for buffer selection Pierre Gondois
2024-01-24 19:51   ` Steven Rostedt
2024-01-24 22:36     ` Steven Rostedt
2024-01-22 16:43 ` [PATCH v2 7/7] trace-cmd split: Update usage Pierre Gondois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).