diff options
author | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2021-04-28 16:47:29 +0300 |
---|---|---|
committer | Yordan Karadzhov (VMware) <y.karadz@gmail.com> | 2021-05-11 16:00:02 +0300 |
commit | a93bd383b0d4e7b4af966dcf1f49e89d8592a9dc (patch) | |
tree | 6ffb3bfe2ae43db921bcc0cbaea8a60926b17555 | |
parent | 9b20a9afe4f74ac950b2fd022ba1bbb6b771fa2b (diff) | |
download | kernel-shark-a93bd383b0d4e7b4af966dcf1f49e89d8592a9dc.tar.gz |
kernel-shark: Remove debugging print out from plugins
We remove the print out that indicates when the "sched events" and
"missed events" plugins are initialized and closed.
Link: https://lore.kernel.org/linux-trace-devel/20210428134730.187533-9-y.karadz@gmail.com
Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
-rw-r--r-- | src/plugins/missed_events.c | 2 | ||||
-rw-r--r-- | src/plugins/sched_events.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/missed_events.c b/src/plugins/missed_events.c index 8fe9780e..8109eb84 100644 --- a/src/plugins/missed_events.c +++ b/src/plugins/missed_events.c @@ -20,7 +20,6 @@ /** Load this plugin. */ int KSHARK_PLOT_PLUGIN_INITIALIZER(struct kshark_data_stream *stream) { - printf("--> missed_events init %i\n", stream->stream_id); kshark_register_draw_handler(stream, draw_missed_events); return 1; @@ -29,7 +28,6 @@ int KSHARK_PLOT_PLUGIN_INITIALIZER(struct kshark_data_stream *stream) /** Unload this plugin. */ int KSHARK_PLOT_PLUGIN_DEINITIALIZER(struct kshark_data_stream *stream) { - printf("<-- missed_events close %i\n", stream->stream_id); kshark_unregister_draw_handler(stream, draw_missed_events); return 1; diff --git a/src/plugins/sched_events.c b/src/plugins/sched_events.c index e151a708..64dff8d3 100644 --- a/src/plugins/sched_events.c +++ b/src/plugins/sched_events.c @@ -181,7 +181,6 @@ static void plugin_sched_wakeup_action(struct kshark_data_stream *stream, /** Load this plugin. */ int KSHARK_PLOT_PLUGIN_INITIALIZER(struct kshark_data_stream *stream) { - printf("--> sched init %i\n", stream->stream_id); struct plugin_sched_context *plugin_ctx; plugin_ctx = __init(stream->stream_id); @@ -206,7 +205,6 @@ int KSHARK_PLOT_PLUGIN_INITIALIZER(struct kshark_data_stream *stream) /** Unload this plugin. */ int KSHARK_PLOT_PLUGIN_DEINITIALIZER(struct kshark_data_stream *stream) { - printf("<-- sched close %i\n", stream->stream_id); struct plugin_sched_context *plugin_ctx = __get_context(stream->stream_id); int ret = 0; @@ -232,6 +230,5 @@ int KSHARK_PLOT_PLUGIN_DEINITIALIZER(struct kshark_data_stream *stream) /** Initialize the control interface of the plugin. */ void *KSHARK_MENU_PLUGIN_INITIALIZER(void *gui_ptr) { - printf("--> sched init menu\n"); return plugin_set_gui_ptr(gui_ptr); } |