Skip to content

Add infrastructure for plugins.

Yordan Karadzhov (VMware) linux-trace-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 1 replyIn review
  2. v47 patches 8 repliesSuperseded
  3. v37 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches1 replySuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8kernel-shark-qt: Add plugin infrastructure to be used by the Qt-baset KS.kernel-shark-qt/src/CMakeLists.txt kernel-shark-qt/src/libkshark-plugin.c kernel-shark-qt/src/libkshark-plugin.h +1 more+473 -00 replies
2/8kernel-shark-qt: Add Plugin event handlers to session.kernel-shark-qt/src/libkshark.c kernel-shark-qt/src/libkshark.h+35 -00 replies
3/8kernel-shark-qt: Add C++/C conversion for args of a plugin draw function.kernel-shark-qt/src/KsPlugins.hpp+51 -00 replies
4/8kernel-shark-qt: Make kshark_read_at() non-static.kernel-shark-qt/src/libkshark.c kernel-shark-qt/src/libkshark.h+13 -20 replies
5/8kernel-shark-qt: Remove the TODO action in kshark_read_at()kernel-shark-qt/src/libkshark.c+2 -31 reply
6/8kernel-shark-qt: Add src/plugins dir. to hold the source code of the pluginskernel-shark-qt/src/CMakeLists.txt kernel-shark-qt/src/plugins/CMakeLists.txt+24 -00 replies
7/8kernel-shark-qt: Tell Doxygen to enter ../src/plugins/kernel-shark-qt/doc/dox_config+1 -10 replies
8/8kernel-shark-qt: Add a plugin for sched events.kernel-shark-qt/src/plugins/CMakeLists.txt kernel-shark-qt/src/plugins/SchedEvents.cpp kernel-shark-qt/src/plugins/sched_events.c +1 more+649 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/8] Add infrastructure for plugins.

The infrastructure for plugins used by the Qt-based version of KernelShark is introduced in this series of patches. This is the last major component of the C API. The last patch adds a plugin for dealing with "sched" events.

This is version 5 of this series of patches. In this version I address the final comments made by Steven Rostedt in his review of v4. The criteria for deciding when to start plotting latencies ([PATCH v5 8/8]) will stay as a TODO action item.

Yordan Karadzhov (VMware) (8):
kernel-shark-qt: Add plugin infrastructure to be used by the Qt-baset

    KS.

kernel-shark-qt: Add Plugin event handlers to session.
kernel-shark-qt: Add C++/C conversion for args of a plugin draw
function.
kernel-shark-qt: Make kshark_read_at() non-static.
kernel-shark-qt: Remove the TODO action in kshark_read_at()
kernel-shark-qt: Add src/plugins dir. to hold the source code of the
plugins
kernel-shark-qt: Tell Doxygen to enter ../src/plugins/
kernel-shark-qt: Add a plugin for sched events.

 kernel-shark-qt/doc/dox_config              |   2 +-
 kernel-shark-qt/src/CMakeLists.txt          |   3 +
 kernel-shark-qt/src/KsPlugins.hpp           |  51 ++++
 kernel-shark-qt/src/libkshark-plugin.c      | 290 +++++++++++++++++++
 kernel-shark-qt/src/libkshark-plugin.h      | 179 ++++++++++++
 kernel-shark-qt/src/libkshark.c             |  38 ++-
 kernel-shark-qt/src/libkshark.h             |  20 ++
 kernel-shark-qt/src/plugins/CMakeLists.txt  |  27 ++
 kernel-shark-qt/src/plugins/SchedEvents.cpp | 263 +++++++++++++++++
 kernel-shark-qt/src/plugins/sched_events.c  | 305 ++++++++++++++++++++
 kernel-shark-qt/src/plugins/sched_events.h  |  76 +++++
 11 files changed, 1248 insertions(+), 6 deletions(-)
 create mode 100644 kernel-shark-qt/src/KsPlugins.hpp
 create mode 100644 kernel-shark-qt/src/libkshark-plugin.c
 create mode 100644 kernel-shark-qt/src/libkshark-plugin.h
 create mode 100644 kernel-shark-qt/src/plugins/CMakeLists.txt
 create mode 100644 kernel-shark-qt/src/plugins/SchedEvents.cpp
 create mode 100644 kernel-shark-qt/src/plugins/sched_events.c
 create mode 100644 kernel-shark-qt/src/plugins/sched_events.h
Signature · 1 line
2.17.1