Skip to content

Add support for opening trace.dat files with multuiple buffers

Tzvetomir Stoyanov (VMware) linux-trace-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5KernelShark: Add stream namesrc/KsAdvFilteringDialog.cpp src/KsWidgetsLib.cpp src/libkshark-plugin.c +5 more+15 -101 reply
2/5KernelShark: Fix compilation issues on Fedora 32src/KsPlotTools.cpp src/KsPlotTools.hpp src/KsUtils.hpp+4 -21 reply
3/5KernelShark: Fix combo plot plugin crash in case of multiple streamssrc/plugins/KVMCombo.cpp+6 -11 reply
4/5KernelShark: Load trace.dat file with ftrace sub-bufferssrc/libkshark-tepdata.c+92 -300 replies
5/5KernelShark: New libkshark API for loading all entries from given filesrc/KsUtils.cpp src/libkshark.c src/libkshark.h+36 -70 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchSteven Rostedt (VMware)
1/5R-b
2/5R-b
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] Add support for opening trace.dat files with multuiple buffers

From: "Tzvetomir (VMware) Stoyanov" <[email protected]>

Ftrace supports parallel tracing in isolated ring buffers. Trace-cmd also supprts this ftrace functionality, it saves the data from all buffers into single trace.dat file. When such file is opened by KernelShark, it loads the tracing data only from the top biffer. Support for loading data from all buffers, located in a single trace.dat file, is added. Each buffer is loaded as different KernelShark session.

Tzvetomir (VMware) Stoyanov (5):
KernelShark: Add stream name
KernelShark: Fix compilation issues on Fedora 32
KernelShark: Fix combo plot plugin crash in case of multiple streams
KernelShark: Load trace.dat file with ftrace sub-buffers
KernelShark: New libkshark API for loading all entries from given file

 src/KsAdvFilteringDialog.cpp   |   2 +-
 src/KsPlotTools.cpp            |   1 +
 src/KsPlotTools.hpp            |   1 +
 src/KsUtils.cpp                |   4 +-
 src/KsUtils.hpp                |   4 +-
 src/KsWidgetsLib.cpp           |   6 +-
 src/libkshark-plugin.c         |   2 +-
 src/libkshark-tepdata.c        | 122 +++++++++++++++++++++++++--------
 src/libkshark.c                |  38 ++++++++--
 src/libkshark.h                |   6 ++
 src/plugins/KVMCombo.cpp       |  11 ++-
 src/plugins/event_field_plot.c |   2 +-
 src/plugins/latency_plot.c     |   4 +-
 13 files changed, 153 insertions(+), 50 deletions(-)
Signature · 1 line
2.26.2