#define BT_LOG_TAG "PLUGIN-LTTNG-UTILS-DEBUG-INFO-TRACE-IR-METADATA-FC-COPY"
#include "logging.h"
-#include <babeltrace/assert-internal.h>
-#include <babeltrace/common-internal.h>
-#include <babeltrace/compiler-internal.h>
-#include <babeltrace/babeltrace.h>
+#include <babeltrace2/assert-internal.h>
+#include <babeltrace2/common-internal.h>
+#include <babeltrace2/compiler-internal.h>
+#include <babeltrace2/babeltrace.h>
#include "trace-ir-metadata-copy.h"
#include "trace-ir-metadata-field-class-copy.h"
i_mapping, range_index, &lower, &upper);
BT_LOGD("Copying range in enumeration field class: "
- "label=%s, lower=%ld, upper=%ld",
+ "label=%s, lower=%"PRId64", upper=%"PRId64,
label, lower, upper);
/* Add the label and its range to the copy field class. */
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
- bt_field_class *out_tag_field_class;
+ bt_field_class *out_tag_field_class = NULL;
uint64_t i, variant_option_count;
const bt_field_path *tag_fp;
const bt_field_class *tag_fc;