The KernelShark plotting library is introduced in this series of patches. The library will be used by the GUI to draw CPU and Task Graphs. This is also the first time KernelShark enters the world of C++. This is the 3th version of this series of patches. The major change from v2 is the debugging of the example ([PATCH 3/4]). Yordan Karadzhov (VMware) (4): kernel-shark-qt: Add OpenGL/GLUT as a third party dependency. kernel-shark-qt: Add basic instruments for OpenGL plotting. kernel-shark-qt: Add C++ API for drawing of Graphs kernel-shark-qt: Add an example showing how to draw shapes and Graphs. kernel-shark-qt/CMakeLists.txt | 3 + kernel-shark-qt/README | 2 + kernel-shark-qt/examples/CMakeLists.txt | 4 + kernel-shark-qt/examples/dataplot.cpp | 231 +++++ kernel-shark-qt/src/CMakeLists.txt | 14 + kernel-shark-qt/src/KsPlotTools.cpp | 1123 +++++++++++++++++++++++ kernel-shark-qt/src/KsPlotTools.hpp | 485 ++++++++++ kernel-shark-qt/src/libkshark-plot.c | 212 +++++ kernel-shark-qt/src/libkshark-plot.h | 69 ++ 9 files changed, 2143 insertions(+) create mode 100644 kernel-shark-qt/examples/dataplot.cpp create mode 100644 kernel-shark-qt/src/KsPlotTools.cpp create mode 100644 kernel-shark-qt/src/KsPlotTools.hpp create mode 100644 kernel-shark-qt/src/libkshark-plot.c create mode 100644 kernel-shark-qt/src/libkshark-plot.h -- 2.17.1
![]() |