And here is the version of the plugin that can build standalone. In order to load it just do: kernelshark -p path/to/xenomai_cobalt_plugin/plugin-xenomai_cobalt_switch_events.so You can also load it from the menus. Note that I only tested that it builds and loads successfully but I have no data file that contains 'cobalt' events. Cheers, Yordan On 19.01.22 г. 14:02 ч., Yordan Karadzhov (VMware) wrote:
Hi Hongzhan and Jan, I tried to build your plugin standalone and I realized that this is in fact not possible due to some missing header files. This gets fixed in the following patch-set. I also made some minor modifications in the code of your plugin and will send you this modified version of the plugin in a separate email. Please let me know if you find this modifications useful or not? Cheers, Yordan Yordan Karadzhov (VMware) (2): kernel-shark: Add KsPluginsGUI.hpp/.cpp kernel-shark: Install missing headers src/CMakeLists.txt | 12 ++++++++++++ src/KsPluginsGUI.cpp | 27 +++++++++++++++++++++++++++ src/KsPluginsGUI.hpp | 22 ++++++++++++++++++++++ src/plugins/CMakeLists.txt | 4 ++++ 4 files changed, 65 insertions(+) create mode 100644 src/KsPluginsGUI.cpp create mode 100644 src/KsPluginsGUI.hpp
Attachment:
xenomai_cobalt_plugin.tz
Description: Binary data