2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2015-2019 EfficiOS Inc.
5 * Copyright (c) 2015 Antoine Busque <abusque@efficios.com>
6 * Copyright (c) 2019 Francis Deslauriers francis.deslauriers@efficios.com>
8 * Babeltrace - Debug information Plugin
11 #ifndef BABELTRACE_PLUGIN_DEBUG_INFO_H
12 #define BABELTRACE_PLUGIN_DEBUG_INFO_H
17 #include <babeltrace2/babeltrace.h>
19 #include "common/macros.h"
21 #define VPID_FIELD_NAME "vpid"
22 #define IP_FIELD_NAME "ip"
25 bt_component_class_initialize_method_status
debug_info_comp_init(
26 bt_self_component_filter
*self_comp
,
27 bt_self_component_filter_configuration
*config
,
28 const bt_value
*params
, void *init_method_data
);
31 void debug_info_comp_finalize(bt_self_component_filter
*self_comp
);
34 bt_message_iterator_class_initialize_method_status
debug_info_msg_iter_init(
35 bt_self_message_iterator
*self_msg_iter
,
36 bt_self_message_iterator_configuration
*config
,
37 bt_self_component_port_output
*self_port
);
40 bt_message_iterator_class_next_method_status
debug_info_msg_iter_next(
41 bt_self_message_iterator
*self_msg_iter
,
42 const bt_message_array_const msgs
, uint64_t capacity
,
46 bt_message_iterator_class_can_seek_beginning_method_status
47 debug_info_msg_iter_can_seek_beginning(
48 bt_self_message_iterator
*message_iterator
,
52 bt_message_iterator_class_seek_beginning_method_status
debug_info_msg_iter_seek_beginning(
53 bt_self_message_iterator
*message_iterator
);
56 void debug_info_msg_iter_finalize(bt_self_message_iterator
*it
);
58 #endif /* BABELTRACE_PLUGIN_DEBUG_INFO_H */