Babeltrace 2 C API 2.1.0
Open-source trace manipulation framework
Loading...
Searching...
No Matches
types.h
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation
5 */
6
7#ifndef BABELTRACE2_TYPES_H
8#define BABELTRACE2_TYPES_H
9
10/* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
11
12#ifndef __BT_IN_BABELTRACE_H
13# error "Please include <babeltrace2/babeltrace.h> instead."
14#endif
15
16#include <stdint.h>
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
34typedef struct bt_error bt_error;
36typedef struct bt_event bt_event;
38typedef struct bt_field bt_field;
40typedef struct bt_field_class_bit_array_flag bt_field_class_bit_array_flag;
48typedef struct bt_field_location bt_field_location;
51typedef struct bt_graph bt_graph;
58typedef struct bt_message bt_message;
61typedef struct bt_object bt_object;
62typedef struct bt_packet bt_packet;
63typedef struct bt_plugin bt_plugin;
65typedef struct bt_port bt_port;
68typedef struct bt_port_output_message_iterator bt_port_output_message_iterator;
89typedef struct bt_stream bt_stream;
91typedef struct bt_trace bt_trace;
93typedef struct bt_value bt_value;
94
108#define BT_TRUE 1
109
114#define BT_FALSE 0
115
126typedef int bt_bool;
127
136typedef uint64_t bt_listener_id;
137
144typedef uint8_t const *bt_uuid;
145
172
183
186#ifdef __cplusplus
187}
188#endif
189
190#endif /* BABELTRACE2_TYPES_H */
uint64_t bt_listener_id
Numeric ID which identifies a user listener function.
Definition types.h:136
uint8_t const * bt_uuid
A UUID, that is, an array of&#160;16&#160;constant bytes.
Definition types.h:144
bt_property_availability
Availability of an object property.
Definition types.h:159
int bt_bool
Babeltrace&#160;2 boolean type.
Definition types.h:126
bt_message const ** bt_message_array_const
Array of constant messages.
Definition types.h:182
@ BT_PROPERTY_AVAILABILITY_AVAILABLE
Property is available.
Definition types.h:164
@ BT_PROPERTY_AVAILABILITY_NOT_AVAILABLE
Property isn't available.
Definition types.h:170
struct bt_component_class_sink bt_component_class_sink
Sink component class.
Definition types.h:27
struct bt_component_class_source bt_component_class_source
Source component class.
Definition types.h:28
struct bt_component_class_filter bt_component_class_filter
Filter component class.
Definition types.h:26
struct bt_component_class bt_component_class
Component class.
Definition types.h:25
struct bt_component_descriptor_set bt_component_descriptor_set
Component descriptor set.
Definition types.h:29
struct bt_component_filter bt_component_filter
Filter component.
Definition types.h:30
struct bt_component_source bt_component_source
Source component.
Definition types.h:32
struct bt_component bt_component
Component.
Definition types.h:24
struct bt_component_sink bt_component_sink
Sink component.
Definition types.h:31
struct bt_connection bt_connection
Connection.
Definition types.h:33
struct bt_error bt_error
Error.
Definition types.h:34
struct bt_error_cause bt_error_cause
Error cause.
Definition types.h:35
struct bt_graph bt_graph
Trace processing graph.
Definition types.h:51
struct bt_integer_range_set_unsigned bt_integer_range_set_unsigned
Set of unsigned 64-bit integer ranges.
Definition types.h:54
struct bt_integer_range_set bt_integer_range_set
Set of 64-bit integer ranges.
Definition types.h:52
struct bt_integer_range_unsigned bt_integer_range_unsigned
Unsigned 64-bit integer range.
Definition types.h:56
struct bt_integer_range_set_signed bt_integer_range_set_signed
Set of signed 64-bit integer ranges.
Definition types.h:53
struct bt_integer_range_signed bt_integer_range_signed
Signed 64-bit integer range.
Definition types.h:55
struct bt_interrupter bt_interrupter
Interrupter.
Definition types.h:57
struct bt_message_iterator_class bt_message_iterator_class
Message iterator class.
Definition types.h:60
struct bt_message_iterator bt_message_iterator
Message iterator.
Definition types.h:59
struct bt_message bt_message
Message.
Definition types.h:58
struct bt_self_plugin bt_self_plugin
Self plugin.
Definition types.h:88
struct bt_plugin bt_plugin
Plugin.
Definition types.h:63
struct bt_plugin_set bt_plugin_set
Set of plugins.
Definition types.h:64
struct bt_port_output bt_port_output
Output port.
Definition types.h:67
struct bt_port bt_port
Port.
Definition types.h:65
struct bt_port_input bt_port_input
Input port.
Definition types.h:66
struct bt_private_query_executor bt_private_query_executor
Private query executor.
Definition types.h:69
struct bt_query_executor bt_query_executor
Query executor.
Definition types.h:70
struct bt_self_component_class_source bt_self_component_class_source
Self source component class.
Definition types.h:75
struct bt_self_component_class_filter bt_self_component_class_filter
Self filter component class.
Definition types.h:73
struct bt_self_component_class_sink bt_self_component_class_sink
Self sink component class.
Definition types.h:74
struct bt_self_component_class bt_self_component_class
Self component class.
Definition types.h:72
struct bt_self_component_port_output bt_self_component_port_output
Self component output port.
Definition types.h:81
struct bt_self_component_port bt_self_component_port
Self component component.
Definition types.h:78
struct bt_self_component_port_input bt_self_component_port_input
Self component input port.
Definition types.h:79
struct bt_self_component_sink_configuration bt_self_component_sink_configuration
Self sink component configuration.
Definition types.h:83
struct bt_self_component_filter_configuration bt_self_component_filter_configuration
Self filter component configuration.
Definition types.h:77
struct bt_self_component bt_self_component
Self component.
Definition types.h:71
struct bt_self_component_source bt_self_component_source
Self source component.
Definition types.h:84
struct bt_self_component_filter bt_self_component_filter
Self filter component.
Definition types.h:76
struct bt_self_component_sink bt_self_component_sink
Self sink component.
Definition types.h:82
struct bt_self_component_source_configuration bt_self_component_source_configuration
Self source component configuration.
Definition types.h:85
struct bt_self_message_iterator_configuration bt_self_message_iterator_configuration
Self message iterator configuration.
Definition types.h:87
struct bt_self_message_iterator bt_self_message_iterator
Self message iterator.
Definition types.h:86
struct bt_clock_class bt_clock_class
Clock class.
Definition types.h:22
struct bt_clock_snapshot bt_clock_snapshot
Clock snapshot.
Definition types.h:23
struct bt_event_class bt_event_class
Event class.
Definition types.h:37
struct bt_event bt_event
Event.
Definition types.h:36
struct bt_field_class_enumeration_signed_mapping bt_field_class_enumeration_signed_mapping
Signed enumeration field class mapping.
Definition types.h:42
struct bt_field_class_enumeration_unsigned_mapping bt_field_class_enumeration_unsigned_mapping
Unsigned enumeration field class mapping.
Definition types.h:43
struct bt_field_class_variant_option bt_field_class_variant_option
Variant field class option.
Definition types.h:45
struct bt_field_class_variant_with_selector_field_integer_unsigned_option bt_field_class_variant_with_selector_field_integer_unsigned_option
Variant field class option (instances with a linked unsigned integer selector field).
Definition types.h:47
struct bt_field_class_enumeration_mapping bt_field_class_enumeration_mapping
Enumeration field class mapping.
Definition types.h:41
struct bt_field_class bt_field_class
Field class.
Definition types.h:39
struct bt_field_class_variant_with_selector_field_integer_signed_option bt_field_class_variant_with_selector_field_integer_signed_option
Variant field class option (instances with a linked signed integer selector field).
Definition types.h:46
struct bt_field_class_structure_member bt_field_class_structure_member
Structure field class member.
Definition types.h:44
struct bt_field_path bt_field_path
Field path.
Definition types.h:49
struct bt_field_path_item bt_field_path_item
Field path item.
Definition types.h:50
struct bt_field bt_field
Field.
Definition types.h:38
struct bt_packet bt_packet
Packet.
Definition types.h:62
struct bt_stream_class bt_stream_class
Stream class.
Definition types.h:90
struct bt_stream bt_stream
Stream.
Definition types.h:89
struct bt_trace_class bt_trace_class
Trace class.
Definition types.h:92
struct bt_trace bt_trace
Trace.
Definition types.h:91
struct bt_value bt_value
Value.
Definition types.h:93