X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fplugins%2Ftext%2Fplugin.c;h=0c474d30f432cf3e483aa0571eed3f283a6eedcf;hb=55478183b5a100be028ed476718f0773ec7b4af5;hp=17f814b9aa24994873797f40c259096fba949c24;hpb=ae83436ea714ed6a8a97c54f8128ab6b63ed557d;p=babeltrace.git diff --git a/src/plugins/text/plugin.c b/src/plugins/text/plugin.c index 17f814b9..0c474d30 100644 --- a/src/plugins/text/plugin.c +++ b/src/plugins/text/plugin.c @@ -23,6 +23,7 @@ #include #include "pretty/pretty.h" #include "dmesg/dmesg.h" +#include "details/details.h" #ifndef BT_BUILT_IN_PLUGINS BT_PLUGIN_MODULE(); @@ -56,3 +57,12 @@ BT_PLUGIN_SOURCE_COMPONENT_CLASS_MESSAGE_ITERATOR_SEEK_BEGINNING_METHOD(dmesg, dmesg_msg_iter_seek_beginning); BT_PLUGIN_SOURCE_COMPONENT_CLASS_MESSAGE_ITERATOR_CAN_SEEK_BEGINNING_METHOD(dmesg, dmesg_msg_iter_can_seek_beginning); + +/* details sink */ +BT_PLUGIN_SINK_COMPONENT_CLASS(details, details_consume); +BT_PLUGIN_SINK_COMPONENT_CLASS_INIT_METHOD(details, details_init); +BT_PLUGIN_SINK_COMPONENT_CLASS_FINALIZE_METHOD(details, details_finalize); +BT_PLUGIN_SINK_COMPONENT_CLASS_GRAPH_IS_CONFIGURED_METHOD(details, + details_graph_is_configured); +BT_PLUGIN_SINK_COMPONENT_CLASS_DESCRIPTION(details, + "Print messages with details.");