From: "Yordan Karadzhov (VMware)" <y.karadz@gmail.com> To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, "Yordan Karadzhov (VMware)" <y.karadz@gmail.com> Subject: [PATCH v3 0/6] kernel-shark: Visualization plugin tools Date: Fri, 8 Jan 2021 16:31:34 +0200 Message-ID: <20210108143140.285037-1-y.karadz@gmail.com> (raw) We implement a general purpose instruments, that can be used to implement efficient (fast) visualization plugins. We also use the new instrumentation to optimize the sched_events plugin. Changes in v3: * Typo fixes in [patch 2] * The missing signed-off-by of [patch 3] is restored. Changes in v2: * KS_DOUBLE_SIZE macro was simplified, based on the suggestion made by Steven in his review. A dedicated test case for the macro has been added. * Bug fix in kshark_free_data_container(). * Bug fix in kshark_data_container_append(). Yordan Karadzhov (VMware) (6): kernel-shark: Add KS_DOUBLE_SIZE macro kernel-shark: Add kshark_data_container to libkshark kernel-shark: Add KS_DEFINE_PLUGIN_CONTEXT macro kernel-shark: Start using C++17 kernel-shark: Add plotting methods to KsPlugins kernel-shark: Speed-up the sched_events plugin CMakeLists.txt | 8 +- src/CMakeLists.txt | 5 +- src/KsPlugins.cpp | 416 ++++++++++++++++++++++++++++++++++++ src/KsPlugins.hpp | 48 +++++ src/libkshark-plugin.h | 59 +++++ src/libkshark-tepdata.c | 34 +++ src/libkshark-tepdata.h | 7 + src/libkshark.c | 158 +++++++++++++- src/libkshark.h | 43 ++++ src/plugins/CMakeLists.txt | 11 +- src/plugins/SchedEvents.cpp | 310 +++++++-------------------- src/plugins/sched_events.c | 393 +++++++++++----------------------- src/plugins/sched_events.h | 50 ++--- tests/libkshark-tests.cpp | 89 ++++++++ 14 files changed, 1071 insertions(+), 560 deletions(-) create mode 100644 src/KsPlugins.cpp -- 2.25.1
next reply index Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-08 14:31 Yordan Karadzhov (VMware) [this message] 2021-01-08 14:31 ` [PATCH v3 1/6] kernel-shark: Add KS_DOUBLE_SIZE macro Yordan Karadzhov (VMware) 2021-01-08 14:31 ` [PATCH v3 2/6] kernel-shark: Add kshark_data_container to libkshark Yordan Karadzhov (VMware) 2021-01-08 14:31 ` [PATCH v3 3/6] kernel-shark: Add KS_DEFINE_PLUGIN_CONTEXT macro Yordan Karadzhov (VMware) 2021-01-08 14:31 ` [PATCH v3 4/6] kernel-shark: Start using C++17 Yordan Karadzhov (VMware) 2021-01-08 14:31 ` [PATCH v3 5/6] kernel-shark: Add plotting methods to KsPlugins Yordan Karadzhov (VMware) 2021-01-08 14:31 ` [PATCH v3 6/6] kernel-shark: Speed-up the sched_events plugin Yordan Karadzhov (VMware)
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210108143140.285037-1-y.karadz@gmail.com \ --to=y.karadz@gmail.com \ --cc=linux-trace-devel@vger.kernel.org \ --cc=rostedt@goodmis.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Linux-Trace-Devel Archive on lore.kernel.org Archives are clonable: git clone --mirror https://lore.kernel.org/linux-trace-devel/0 linux-trace-devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 linux-trace-devel linux-trace-devel/ https://lore.kernel.org/linux-trace-devel \ linux-trace-devel@vger.kernel.org public-inbox-index linux-trace-devel Example config snippet for mirrors Newsgroup available over NNTP: nntp://nntp.lore.kernel.org/org.kernel.vger.linux-trace-devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git