Complete the KernelShark v2 transformation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest27 patches 1 replyIn review
- v124 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Fixing the bug in patch
"kernel-shark: Update KsDualMarker and KsGLWidget", causing the error "Unable to find FreeSans font".
* New patches:
- kernel-shark: Search for font with Cmake at pre-build
- kernel-shark: Add pkg-config configuration for libkshark
- kernel-shark: Install libkshark-tepdata.h
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/27 | kernel-shark: Add get_stream_object()src/ | +13 | 0 replies | |
| 2/27 | kernel-shark: Do proper reset in kshark_close_all()src/ | +13 | 0 replies | |
| 3/27 | kernel-shark: Restore the counting of event handlerssrc/ | +12 | 0 replies | |
| 4/27 | kernel-shark: Fix a misleading commentsrc/ | +2 | 0 replies | |
| 5/27 | kernel-shark: Count the number of readout interfacessrc/ | +2 | 0 replies | |
| 6/27 | kernel-shark: Update KsUtilsCMakeLists.txt build/ src/ +4 more | +969 | 0 replies | |
| 7/27 | kernel-shark: Update KsModels and KsSearchFSMsrc/ src/ src/ +1 more | +132 | 0 replies | |
| 8/27 | kernel-shark: Add trace data files for CI testing.github/ CMakeLists.txt build/ +2 more | +37 | 0 replies | |
| 9/27 | kernel-shark: Add plugin testsCMakeLists.txt build/ build/ +9 more | +934 | 0 replies | |
| 10/27 | kernel-shark: Add model teststests/ | +59 | 0 replies | |
| 11/27 | kernel-shark: Update KsWidgetsLibexamples/ examples/ src/ +3 more | +996 | 0 replies | |
| 12/27 | kernel-shark: Add combo point to Marksrc/ src/ | +36 | 0 replies | |
| 13/27 | kernel-shark: Add new methods to KsPlot::Marksrc/ | +12 | 0 replies | |
| 14/27 | kernel-shark: Update the plotting exampleexamples/ examples/ | +63 | 0 replies | |
| 15/27 | kernel-shark: Search for font with Cmake at pre-build.github/ CMakeLists.txt README +5 more | +45 | 0 replies | |
| 16/27 | kernel-shark: Update KsDualMarker and KsGLWidgetsrc/ src/ src/ +2 more | +629 | 0 replies | |
| 17/27 | kernel-shark: Update KsTraceGraph and KsQuickContextMenusrc/ src/ src/ +2 more | +351 | 0 replies | |
| 18/27 | kernel-shark: Update KsTraceViewersrc/ src/ src/ +1 more | +54 | 0 replies | |
| 19/27 | kernel-shark: Update KsAdvFilteringDialogsrc/ src/ src/ | +144 | 0 replies | |
| 20/27 | kernel-shark: Update KsCaptureDialogsrc/ src/ src/ | +56 | 0 replies | |
| 21/27 | kernel-shark: Update KsSessionsrc/ src/ src/ | +269 | 0 replies | |
| 22/27 | kernel-shark: Update MissedEvents pluginsrc/ src/ src/ +2 more | +62 | 0 replies | |
| 23/27 | kernel-shark: Update KsMainWindow and kernelshark.cppsrc/ src/ src/ +4 more | +695 | 0 replies | |
| 24/27 | kernel-shark: Clickable sched_event plugin shapessrc/ src/ src/ +1 more | +93 | 0 replies | |
| 25/27 | kernel-shark: Show Task plots from command limesrc/ src/ src/ +1 more | +72 | 0 replies | |
| 26/27 | kernel-shark: Add pkg-config configuration for libksharkCMakeLists.txt build/ build/ +1 more | +20 | 0 replies | |
| 27/27 | kernel-shark: Install libkshark-tepdata.hsrc/ | +1 | 0 replies |
Reviews trailers per patch
None of the 27 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Yordan Karadzhov (VMware) | Steven Rostedt (VMware) |
|---|---|---|
| Series | A-b | |
| 1/27 | ||
| 2/27 | ||
| 3/27 | ||
| 4/27 | ||
| 5/27 | Sgned-off-by | |
| 6/27 | ||
| 7/27 | ||
| 8/27 | ||
| 9/27 | ||
| 10/27 | ||
| 11/27 | ||
| 12/27 | ||
| 13/27 | ||
| 14/27 | ||
| 15/27 | ||
| 16/27 | ||
| 17/27 | ||
| 18/27 | ||
| 19/27 | ||
| 20/27 | ||
| 21/27 | ||
| 22/27 | ||
| 23/27 | ||
| 24/27 | ||
| 25/27 | ||
| 26/27 | ||
| 27/27 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 00/27] Complete the KernelShark v2 transformation
With this patch-set we complete the destructive part of the transformation of KernelShark towards v2 and the GUI is finally fully functional again.
v2 changes:
* Fixing the bug in patch
"kernel-shark: Update KsDualMarker and KsGLWidget", causing the error "Unable to find FreeSans font".
* New patches:
- kernel-shark: Search for font with Cmake at pre-build
- kernel-shark: Add pkg-config configuration for libkshark
- kernel-shark: Install libkshark-tepdata.h
Yordan Karadzhov (VMware) (27):
kernel-shark: Add get_stream_object()
kernel-shark: Do proper reset in kshark_close_all()
kernel-shark: Restore the counting of event handlers
kernel-shark: Fix a misleading comment
kernel-shark: Count the number of readout interfaces
kernel-shark: Update KsUtils
kernel-shark: Update KsModels and KsSearchFSM
kernel-shark: Add trace data files for CI testing
kernel-shark: Add plugin tests
kernel-shark: Add model tests
kernel-shark: Update KsWidgetsLib
kernel-shark: Add combo point to Mark
kernel-shark: Add new methods to KsPlot::Mark
kernel-shark: Update the plotting example
kernel-shark: Search for font with Cmake at pre-build
kernel-shark: Update KsDualMarker and KsGLWidget
kernel-shark: Update KsTraceGraph and KsQuickContextMenu
kernel-shark: Update KsTraceViewer
kernel-shark: Update KsAdvFilteringDialog
kernel-shark: Update KsCaptureDialog
kernel-shark: Update KsSession
kernel-shark: Update MissedEvents plugin
kernel-shark: Update KsMainWindow and kernelshark.cpp
kernel-shark: Clickable sched_event plugin shapes
kernel-shark: Show Task plots from command lime
kernel-shark: Add pkg-config configuration for libkshark
kernel-shark: Install libkshark-tepdata.h
.github/workflows/main.yml | 9 + CMakeLists.txt | 41 +- README | 1 + build/cmake_clean.sh | 4 +- build/deff.h.cmake | 9 + build/libkshark.pc.cmake | 10 + examples/CMakeLists.txt | 30 +- examples/dataplot.cpp | 88 ++- examples/widgetdemo.cpp | 65 +- src/CMakeLists.txt | 15 +- src/KsAdvFilteringDialog.cpp | 200 ++++-- src/KsAdvFilteringDialog.hpp | 16 +- src/KsCaptureDialog.cpp | 90 +-- src/KsCaptureDialog.hpp | 4 +- src/KsDualMarker.cpp | 23 +- src/KsDualMarker.hpp | 16 +- src/KsGLWidget.cpp | 696 +++++++++++++------- src/KsGLWidget.hpp | 187 ++++-- src/KsMainWindow.cpp | 786 ++++++++++++++-------- src/KsMainWindow.hpp | 108 ++- src/KsModels.cpp | 112 +++- src/KsModels.hpp | 28 +- src/KsPlotTools.cpp | 23 +- src/KsPlotTools.hpp | 27 +- src/KsPlugins.hpp | 5 + src/KsQuickContextMenu.cpp | 151 +++-- src/KsQuickContextMenu.hpp | 26 +- src/KsSearchFSM.cpp | 12 +- src/KsSession.cpp | 379 +++++++---- src/KsSession.hpp | 33 +- src/KsTraceGraph.cpp | 426 ++++++------ src/KsTraceGraph.hpp | 48 +- src/KsTraceViewer.cpp | 57 +- src/KsTraceViewer.hpp | 13 +- src/KsUtils.cpp | 1157 +++++++++++++++++++++++---------- src/KsUtils.hpp | 183 ++++-- src/KsWidgetsLib.cpp | 695 +++++++++++++++++--- src/KsWidgetsLib.hpp | 331 +++++++++- src/kernelshark.cpp | 64 +- src/libkshark-plugin.c | 25 +- src/libkshark.c | 28 +- src/plugins/CMakeLists.txt | 36 +- src/plugins/MissedEvents.cpp | 105 ++- src/plugins/SchedEvents.cpp | 58 +- src/plugins/missed_events.c | 25 +- src/plugins/missed_events.h | 4 +- src/plugins/sched_events.c | 7 + src/plugins/sched_events.h | 3 + tests/CMakeLists.txt | 42 +- tests/get_test_data.sh | 21 + tests/libkshark-gui-tests.cpp | 313 +++++++++ tests/libkshark-tests.cpp | 317 ++++++++- tests/test-input.c | 134 ++++ tests/test-input_ctrl.c | 140 ++++ tests/test-plugin_dpi.c | 26 + tests/test-plugin_dpi_ctrl.c | 32 + tests/test-plugin_dpi_err.c | 26 + 57 files changed, 5608 insertions(+), 1902 deletions(-) create mode 100644 build/libkshark.pc.cmake create mode 100755 tests/get_test_data.sh create mode 100644 tests/libkshark-gui-tests.cpp create mode 100644 tests/test-input.c create mode 100644 tests/test-input_ctrl.c create mode 100644 tests/test-plugin_dpi.c create mode 100644 tests/test-plugin_dpi_ctrl.c create mode 100644 tests/test-plugin_dpi_err.c
Signature · 1 line
2.25.1