Cleanup: debug-info: move all `_FIELD_NAME` defines to the same file
[babeltrace.git] / src / plugins / lttng-utils / debug-info / debug-info.h
CommitLineData
4f45f9bb 1/*
0235b0db 2 * SPDX-License-Identifier: MIT
4f45f9bb 3 *
ca9f27f3 4 * Copyright (c) 2015-2019 EfficiOS Inc.
4f45f9bb 5 * Copyright (c) 2015 Antoine Busque <abusque@efficios.com>
ca9f27f3 6 * Copyright (c) 2019 Francis Deslauriers francis.deslauriers@efficios.com>
4f45f9bb 7 *
0235b0db 8 * Babeltrace - Debug information Plugin
4f45f9bb
JD
9 */
10
0235b0db
MJ
11#ifndef BABELTRACE_PLUGIN_DEBUG_INFO_H
12#define BABELTRACE_PLUGIN_DEBUG_INFO_H
13
4f45f9bb 14#include <stdint.h>
c4f23e30
FD
15#include <stdbool.h>
16
3fadfbc0 17#include <babeltrace2/babeltrace.h>
c4f23e30 18
91d81473 19#include "common/macros.h"
4f45f9bb 20
a7dd8d86
FD
21#define VPID_FIELD_NAME "vpid"
22#define IP_FIELD_NAME "ip"
23#define BADDR_FIELD_NAME "baddr"
24#define CRC32_FIELD_NAME "crc"
25#define BUILD_ID_FIELD_NAME "build_id"
26#define FILENAME_FIELD_NAME "filename"
27#define IS_PIC_FIELD_NAME "is_pic"
28#define MEMSZ_FIELD_NAME "memsz"
29#define PATH_FIELD_NAME "path"
4f45f9bb 30
ca9f27f3 31BT_HIDDEN
21a9f056 32bt_component_class_initialize_method_status debug_info_comp_init(
ca9f27f3 33 bt_self_component_filter *self_comp,
59225a3e 34 bt_self_component_filter_configuration *config,
ca9f27f3 35 const bt_value *params, void *init_method_data);
4f45f9bb 36
ca9f27f3
FD
37BT_HIDDEN
38void debug_info_comp_finalize(bt_self_component_filter *self_comp);
4f45f9bb
JD
39
40BT_HIDDEN
a3f0c7db 41bt_message_iterator_class_initialize_method_status debug_info_msg_iter_init(
ca9f27f3 42 bt_self_message_iterator *self_msg_iter,
8d8b141d 43 bt_self_message_iterator_configuration *config,
ca9f27f3 44 bt_self_component_port_output *self_port);
4f45f9bb
JD
45
46BT_HIDDEN
a3f0c7db 47bt_message_iterator_class_next_method_status debug_info_msg_iter_next(
ca9f27f3
FD
48 bt_self_message_iterator *self_msg_iter,
49 const bt_message_array_const msgs, uint64_t capacity,
50 uint64_t *count);
4f45f9bb
JD
51
52BT_HIDDEN
a3f0c7db 53bt_message_iterator_class_can_seek_beginning_method_status
f2fb1b32
SM
54debug_info_msg_iter_can_seek_beginning(
55 bt_self_message_iterator *message_iterator,
56 bt_bool *can_seek);
4f45f9bb
JD
57
58BT_HIDDEN
a3f0c7db 59bt_message_iterator_class_seek_beginning_method_status debug_info_msg_iter_seek_beginning(
ca9f27f3 60 bt_self_message_iterator *message_iterator);
4f45f9bb 61
1c78e839 62BT_HIDDEN
ca9f27f3 63void debug_info_msg_iter_finalize(bt_self_message_iterator *it);
1c78e839 64
4f45f9bb 65#endif /* BABELTRACE_PLUGIN_DEBUG_INFO_H */
This page took 0.067213 seconds and 4 git commands to generate.