2 * SPDX-License-Identifier: MIT
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 * BabelTrace - Trace Trimmer Plug-in
9 #ifndef BABELTRACE_PLUGINS_UTILS_TRIMMER_H
10 #define BABELTRACE_PLUGINS_UTILS_TRIMMER_H
12 #include "common/macros.h"
13 #include <babeltrace2/babeltrace.h>
19 void trimmer_finalize(bt_self_component_filter
*self_comp
);
21 bt_component_class_initialize_method_status
trimmer_init(
22 bt_self_component_filter
*self_comp
,
23 bt_self_component_filter_configuration
*config
,
24 const bt_value
*params
, void *init_data
);
26 bt_message_iterator_class_initialize_method_status
trimmer_msg_iter_init(
27 bt_self_message_iterator
*self_msg_iter
,
28 bt_self_message_iterator_configuration
*config
,
29 bt_self_component_port_output
*port
);
31 bt_message_iterator_class_next_method_status
trimmer_msg_iter_next(
32 bt_self_message_iterator
*self_msg_iter
,
33 bt_message_array_const msgs
, uint64_t capacity
,
36 void trimmer_msg_iter_finalize(bt_self_message_iterator
*self_msg_iter
);
42 #endif /* BABELTRACE_PLUGINS_UTILS_TRIMMER_H */