* SOFTWARE.
*/
-#define BT_LOG_TAG "PLUGIN-TEXT-PRETTY-SINK"
+#define BT_LOG_TAG "PLUGIN/SINK.TEXT.PRETTY"
#include "logging.h"
#include <babeltrace2/babeltrace.h>
#include "compat/compiler.h"
#include "common/common.h"
-#include "plugins/plugins-common.h"
#include <stdio.h>
#include <stdbool.h>
#include <glib.h>
ret = BT_SELF_COMPONENT_STATUS_ERROR;
}
break;
- case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY:
- BT_LOGD_STR("Message iterator inactivity message.");
- break;
case BT_MESSAGE_TYPE_DISCARDED_EVENTS:
case BT_MESSAGE_TYPE_DISCARDED_PACKETS:
if (pretty_print_discarded_items(pretty, message)) {
bt_self_component_status pretty_init(
bt_self_component_sink *comp,
const bt_value *params,
- UNUSED_VAR void *init_method_data)
+ __attribute__((unused)) void *init_method_data)
{
bt_self_component_status ret;
struct pretty_component *pretty = create_pretty();