#endif
#include <stdbool.h>
-#include <stdlib.h>
-#include <inttypes.h>
-#include "common/common.h"
#include "common/macros.h"
/*
#include <stdarg.h>
#include <glib.h>
#include "common/assert.h"
+#include "common/common.h"
#include "assert-cond-base.h"
static
#include "assert-cond-base.h"
+#include <inttypes.h>
+
/*
* Asserts that a given variable `_obj` named `_obj_name` (capitalized)
* and having the ID `_obj_id` (within the function's context) is not
#include <stdarg.h>
#include "error.h"
-#include "common/assert.h"
#include "lib/assert-cond.h"
#include "lib/func-status.h"
#include "graph/component-class.h"
#include "graph/iterator.h"
#include "common/assert.h"
+#include "common/common.h"
#include "lib/assert-cond.h"
#include "lib/func-status.h"
#include <stdarg.h>
#include <glib.h>
#include <babeltrace2/babeltrace.h>
-#include "lib/object.h"
-#include "common/macros.h"
struct bt_error_cause {
enum bt_error_cause_actor_type actor_type;
#ifndef BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
#define BABELTRACE_GRAPH_COMPONENT_CLASS_SINK_SIMPLE_H
-#include <stdint.h>
#include <babeltrace2/types.h>
#include <babeltrace2/graph/message.h>
#include "lib/logging.h"
#include "common/assert.h"
+#include "common/common.h"
#include "lib/assert-cond.h"
#include "compat/compiler.h"
#include <babeltrace2/graph/component-class.h>
#include <babeltrace2/graph/component-class.h>
#include <babeltrace2/graph/component.h>
-#include "common/macros.h"
#include "lib/object.h"
#include "common/list.h"
#include <babeltrace2/types.h>
#include "common/assert.h"
#include "lib/assert-cond.h"
+#include "lib/func-status.h"
#include "compat/compiler.h"
#include "common/common.h"
#include <babeltrace2/types.h>
#include <babeltrace2/graph/graph.h>
#include <babeltrace2/graph/component-descriptor-set.h>
-#include "common/macros.h"
#include "lib/object.h"
-#include "common/assert.h"
-#include "common/common.h"
-#include <stdlib.h>
#include <glib.h>
-#include "component.h"
-#include "component-sink.h"
-#include "connection.h"
-#include "lib/func-status.h"
-
/*
* This structure describes an eventual component instance.
*/
#ifndef BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H
#define BABELTRACE_GRAPH_COMPONENT_FILTER_INTERNAL_H
-#include "common/macros.h"
#include <babeltrace2/graph/component.h>
-#include "component-class.h"
#include "component.h"
struct bt_component_filter {
#include <stdbool.h>
-#include "common/macros.h"
#include "compat/compiler.h"
#include <babeltrace2/graph/component.h>
-#include "component-class.h"
#include "component.h"
struct bt_component_sink {
#ifndef BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
#define BABELTRACE_GRAPH_COMPONENT_SOURCE_INTERNAL_H
-#include "common/macros.h"
-
-#include "component-class.h"
#include "component.h"
struct bt_component_source {
#ifndef BABELTRACE_GRAPH_COMPONENT_INTERNAL_H
#define BABELTRACE_GRAPH_COMPONENT_INTERNAL_H
-#include "common/macros.h"
#include <babeltrace2/graph/component.h>
#include <babeltrace2/graph/component-class.h>
#include "lib/object.h"
#include "common/assert.h"
#include <glib.h>
#include <stdbool.h>
-#include <stdio.h>
#include "component-class.h"
#include "port.h"
#include <babeltrace2/graph/connection.h>
#include "lib/object.h"
#include "common/assert.h"
-#include "common/macros.h"
#include <stdbool.h>
#include "iterator.h"
#include <babeltrace2/graph/graph.h>
#include <babeltrace2/graph/message.h>
-#include "common/macros.h"
#include "lib/object.h"
#include "lib/object-pool.h"
#include "common/assert.h"
-#include "common/common.h"
#include <stdbool.h>
-#include <stdlib.h>
#include <glib.h>
#include "component.h"
#include "component-sink.h"
#include "connection.h"
-#include "lib/func-status.h"
/* Protection: this file uses BT_LIB_LOG*() macros directly */
#ifndef BT_LIB_LOG_SUPPORTED
#include <babeltrace2/trace-ir/packet.h>
#include "lib/trace-ir/packet.h"
#include "lib/trace-ir/stream.h"
+#include "lib/trace-ir/stream-class.h"
#include <babeltrace2/trace-ir/clock-class.h>
#include <babeltrace2/trace-ir/stream-class.h>
#include <babeltrace2/trace-ir/stream.h>
#include <babeltrace2/graph/connection.h>
#include <babeltrace2/graph/message.h>
#include <babeltrace2/types.h>
-#include "common/assert.h"
#include <stdbool.h>
#include "common/uuid.h"
#include <babeltrace2/graph/message-iterator-class.h>
#include <babeltrace2/types.h>
-#include "common/macros.h"
#include "lib/object.h"
#include <stdbool.h>
#include <glib.h>
#include "compat/compiler.h"
#include <babeltrace2/trace-ir/event-class.h>
#include <babeltrace2/trace-ir/event.h>
-#include "common/assert.h"
-#include "common/macros.h"
#include "message.h"
# error Please include "lib/logging.h" before including this file.
#endif
-#include "common/macros.h"
#include "lib/object.h"
#include "common/assert.h"
#include <babeltrace2/graph/graph.h>
#include "compat/compiler.h"
#include <babeltrace2/trace-ir/packet.h>
#include "lib/trace-ir/clock-snapshot.h"
-#include "common/assert.h"
-#include "common/macros.h"
#include "message.h"
#include "compat/compiler.h"
#include "lib/trace-ir/stream.h"
#include "lib/trace-ir/clock-snapshot.h"
-#include "common/assert.h"
#include "message.h"
#include "common/assert.h"
#include "compat/compiler.h"
#include "common/common.h"
+#include "lib/func-status.h"
+#include "lib/graph/component-class.h"
#include "lib/value.h"
#include "component-descriptor-set.h"
#include "lib/integer-range-set.h"
#define BABELTRACE_GRAPH_PORT_INTERNAL_H
#include <babeltrace2/graph/port.h>
-#include "common/macros.h"
struct bt_port {
struct bt_object base;
#include <babeltrace2/babeltrace.h>
#include "logging.h"
-#include "assert-cond.h"
#include "value.h"
#include "integer-range-set.h"
#include "object-pool.h"
#ifndef BABELTRACE_LIB_LOGGING_INTERNAL_H
#define BABELTRACE_LIB_LOGGING_INTERNAL_H
-#include "common/macros.h"
#include <stdarg.h>
#ifndef BT_LOG_TAG
#ifndef BABELTRACE_OBJECT_INTERNAL_H
#define BABELTRACE_OBJECT_INTERNAL_H
-#include "common/macros.h"
#include "common/assert.h"
#include <stdbool.h>
#include <gmodule.h>
#include <stdbool.h>
#include <babeltrace2/types.h>
-#include "common/macros.h"
struct bt_plugin;
struct bt_component_class;
#ifndef BABELTRACE_PLUGIN_PLUGIN_INTERNAL_H
#define BABELTRACE_PLUGIN_PLUGIN_INTERNAL_H
-#include "common/macros.h"
#include "common/common.h"
#include "lib/graph/component-class.h"
#include <babeltrace2/plugin/plugin-loading.h>
#include <babeltrace2/babeltrace.h>
#include <glib.h>
#include <stdint.h>
-#include <string.h>
struct bt_property {
enum bt_property_availability avail;
#include "lib/value.h"
#include "attributes.h"
#include <inttypes.h>
-#include "compat/string.h"
#include "common/assert.h"
#define BT_ATTR_NAME_INDEX 0
#endif
#include <stdint.h>
-#include "common/macros.h"
#include <babeltrace2/value.h>
struct bt_value *bt_attributes_create(void);
#include "utils.h"
#include "compat/compiler.h"
#include <babeltrace2/types.h>
-#include "compat/string.h"
#include <inttypes.h>
#include <stdbool.h>
#include "lib/object.h"
#include <babeltrace2/trace-ir/clock-class.h>
#include "lib/object.h"
-#include "common/macros.h"
#include "common/common.h"
#include "lib/object-pool.h"
#include "common/uuid.h"
#include <babeltrace2/types.h>
-#include "lib/property.h"
#include "common/assert.h"
#include <stdbool.h>
#include <stdint.h>
#include <babeltrace2/trace-ir/clock-snapshot.h>
#include "compat/compiler.h"
#include <babeltrace2/types.h>
-#include "compat/string.h"
#include "lib/object.h"
#include "common/assert.h"
#include "lib/func-status.h"
#ifndef BABELTRACE_TRACE_IR_CLOCK_SNAPSHOT_INTERNAL_H
#define BABELTRACE_TRACE_IR_CLOCK_SNAPSHOT_INTERNAL_H
-#include "common/macros.h"
#include "lib/object.h"
#include <stdbool.h>
#include <stdint.h>
#ifndef BABELTRACE_TRACE_IR_EVENT_CLASS_INTERNAL_H
#define BABELTRACE_TRACE_IR_EVENT_CLASS_INTERNAL_H
-#include "lib/assert-cond.h"
#include <babeltrace2/trace-ir/field-class.h>
#include <babeltrace2/trace-ir/field.h>
-#include "common/macros.h"
#include <babeltrace2/value.h>
#include <babeltrace2/trace-ir/stream-class.h>
#include <babeltrace2/trace-ir/stream.h>
#include <glib.h>
#include <stdbool.h>
-#include "trace.h"
-
struct bt_event_class {
struct bt_object base;
struct bt_field_class *specific_context_fc;
#endif
#include "lib/assert-cond.h"
-#include "common/macros.h"
#include <babeltrace2/value.h>
#include <babeltrace2/trace-ir/stream-class.h>
#include <babeltrace2/trace-ir/stream.h>
#include "event-class.h"
#include "field.h"
-#include "field-wrapper.h"
#include "packet.h"
#include "stream.h"
#include "compat/compiler.h"
#include "compat/endian.h"
#include "common/assert.h"
+#include "common/common.h"
#include "compat/glib.h"
#include <inttypes.h>
#include <stdbool.h>
#ifndef BABELTRACE_TRACE_IR_FIELD_CLASSES_INTERNAL_H
#define BABELTRACE_TRACE_IR_FIELD_CLASSES_INTERNAL_H
-#include "lib/assert-cond.h"
#include <babeltrace2/trace-ir/clock-class.h>
#include <babeltrace2/trace-ir/field-class.h>
#include "common/macros.h"
-#include "common/common.h"
#include "lib/object.h"
#include <babeltrace2/types.h>
#include <stdbool.h>
#ifndef BABELTRACE_TRACE_IR_FIELD_WRAPPER_INTERNAL_H
#define BABELTRACE_TRACE_IR_FIELD_WRAPPER_INTERNAL_H
-#include "common/macros.h"
#include "lib/object-pool.h"
#include "lib/object.h"
#include "field.h"
#include "field-class.h"
#include "lib/func-status.h"
+#include "utils.h"
#define BT_ASSERT_PRE_DEV_FIELD_HOT(_field) \
BT_ASSERT_PRE_DEV_HOT("field", \
#ifndef BABELTRACE_TRACE_IR_FIELDS_INTERNAL_H
#define BABELTRACE_TRACE_IR_FIELDS_INTERNAL_H
-#include "lib/assert-cond.h"
-#include "common/common.h"
#include "lib/object.h"
-#include "common/macros.h"
#include <babeltrace2/types.h>
#include <stdint.h>
-#include <string.h>
-#include <inttypes.h>
#include <stdbool.h>
#include <glib.h>
#include "field-class.h"
-#include "utils.h"
struct bt_field;
#define BABELTRACE_TRACE_IR_PACKET_INTERNAL_H
#include <stdbool.h>
-#include "common/assert.h"
#include <babeltrace2/trace-ir/clock-snapshot.h>
#include <babeltrace2/trace-ir/packet.h>
#include <babeltrace2/trace-ir/field.h>
#include <babeltrace2/trace-ir/stream.h>
#include "lib/object.h"
-#include "common/macros.h"
-#include "lib/property.h"
#include "field-wrapper.h"
#include "field-class.h"
#include "field-path.h"
#include "resolve-field-path.h"
+#include "common/common.h"
static
bool find_field_class_recursive(struct bt_field_class *fc,
#ifndef BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL
#define BABELTRACE_TRACE_IR_RESOLVE_FIELD_PATH_INTERNAL
-#include "common/macros.h"
-#include "lib/object.h"
#include <babeltrace2/trace-ir/field-class.h>
#include <babeltrace2/trace-ir/field-path.h>
#include <glib.h>
#include "stream-class.h"
#include "lib/value.h"
#include "lib/func-status.h"
+#include "trace-class.h"
#define BT_ASSERT_PRE_DEV_STREAM_CLASS_HOT(_sc) \
BT_ASSERT_PRE_DEV_HOT("stream-class", (_sc), "Stream class", \
#define BABELTRACE_TRACE_IR_STREAM_CLASS_INTERNAL_H
#include "common/assert.h"
-#include "common/common.h"
#include <babeltrace2/trace-ir/stream-class.h>
#include "lib/object.h"
#include "lib/object-pool.h"
-#include "common/macros.h"
#include <glib.h>
-#include <inttypes.h>
#include <stdbool.h>
#include "field-class.h"
-#include "utils.h"
struct bt_stream_class {
struct bt_object base;
#include <babeltrace2/trace-ir/stream.h>
#include "lib/object.h"
#include "lib/object-pool.h"
-#include "common/macros.h"
#include <glib.h>
#include <stdbool.h>
-#include "utils.h"
-
struct bt_stream_class;
struct bt_stream;
#include <babeltrace2/types.h>
#include "compat/endian.h"
#include "common/assert.h"
-#include "compat/glib.h"
#include <inttypes.h>
#include <stdint.h>
#include <string.h>
#ifndef BABELTRACE_TRACE_IR_TRACE_CLASS_INTERNAL_H
#define BABELTRACE_TRACE_IR_TRACE_CLASS_INTERNAL_H
-#include "lib/assert-cond.h"
#include <babeltrace2/trace-ir/trace-class.h>
#include <babeltrace2/trace-ir/field-class.h>
#include <babeltrace2/trace-ir/field.h>
#include "lib/object.h"
-#include "lib/object-pool.h"
-#include "common/macros.h"
#include <babeltrace2/value.h>
#include <babeltrace2/types.h>
#include <glib.h>
#include <sys/types.h>
#include <stdbool.h>
-#include "stream-class.h"
-#include "attributes.h"
-#include "clock-class.h"
-
struct bt_trace_class {
struct bt_object base;
#ifndef BABELTRACE_TRACE_IR_TRACE_INTERNAL_H
#define BABELTRACE_TRACE_IR_TRACE_INTERNAL_H
-#include "lib/assert-cond.h"
#include <babeltrace2/trace-ir/trace.h>
#include <babeltrace2/trace-ir/field-class.h>
#include <babeltrace2/trace-ir/field.h>
#include "lib/object.h"
-#include "lib/object-pool.h"
-#include "common/macros.h"
#include <babeltrace2/value.h>
#include <babeltrace2/types.h>
#include <glib.h>
#include <sys/types.h>
#include "common/uuid.h"
-#include "attributes.h"
-#include "clock-class.h"
#include "stream-class.h"
#include "trace-class.h"
#define BT_LOG_TAG "LIB/TRACE-IR-UTILS"
#include "lib/logging.h"
-#include <stdlib.h>
#include <glib.h>
#include <babeltrace2/trace-ir/clock-class.h>
-#include "common/assert.h"
-
-#include "field-class.h"
#ifndef BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
#define BABELTRACE_TRACE_IR_UTILS_INTERNAL_H
-#include "common/macros.h"
#include <babeltrace2/trace-ir/field-class.h>
#include <stdbool.h>
#include <stdint.h>
#include "lib/assert-cond.h"
#include <stdbool.h>
-#include <stdlib.h>
-#include <string.h>
#include <inttypes.h>
#include <babeltrace2/babeltrace.h>
#include "lib/trace-ir/utils.h"
#include <babeltrace2/babeltrace.h>
#include "lib/object.h"
-#include "common/macros.h"
struct bt_value {
struct bt_object base;