#define BT_LOG_OUTPUT_LEVEL (md_maps->log_level)
#define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO/TRACE-IR-META-FC-COPY"
#define BT_LOG_OUTPUT_LEVEL (md_maps->log_level)
#define BT_LOG_TAG "PLUGIN/FLT.LTTNG-UTILS.DEBUG-INFO/TRACE-IR-META-FC-COPY"
const bt_field_class *curr_fc;
BT_ASSERT(bt_field_class_get_type(fc) == BT_FIELD_CLASS_TYPE_STRUCTURE);
const bt_field_class *curr_fc;
BT_ASSERT(bt_field_class_get_type(fc) == BT_FIELD_CLASS_TYPE_STRUCTURE);
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
field_class_integer_set_props(in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
field_class_integer_set_props(in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
return 0;
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
return 0;
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
field_class_integer_set_props(in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
field_class_integer_set_props(in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
return 0;
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
return 0;
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
bt_field_class_unsigned_enumeration_mapping_get_range_by_index(
u_mapping, range_index, &lower, &upper);
bt_field_class_unsigned_enumeration_mapping_get_range_by_index(
u_mapping, range_index, &lower, &upper);
"label=%s, lower=%"PRId64", upper=%"PRId64,
label, lower, upper);
"label=%s, lower=%"PRId64", upper=%"PRId64,
label, lower, upper);
out_field_class, label, lower, upper);
if (status != BT_FIELD_CLASS_STATUS_OK) {
out_field_class, label, lower, upper);
if (status != BT_FIELD_CLASS_STATUS_OK) {
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
bt_field_class_signed_enumeration_mapping_get_range_by_index(
i_mapping, range_index, &lower, &upper);
bt_field_class_signed_enumeration_mapping_get_range_by_index(
i_mapping, range_index, &lower, &upper);
"label=%s, lower=%"PRId64", upper=%"PRId64,
label, lower, upper);
"label=%s, lower=%"PRId64", upper=%"PRId64,
label, lower, upper);
status = bt_field_class_signed_enumeration_map_range(
out_field_class, label, lower, upper);
if (status != BT_FIELD_CLASS_STATUS_OK) {
status = bt_field_class_signed_enumeration_map_range(
out_field_class, label, lower, upper);
if (status != BT_FIELD_CLASS_STATUS_OK) {
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
bt_field_class_real_set_is_single_precision(out_field_class,
bt_field_class_real_is_single_precision(in_field_class));
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
bt_field_class_real_set_is_single_precision(out_field_class,
bt_field_class_real_is_single_precision(in_field_class));
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
/* Get the number of member in that struct. */
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
/* Get the number of member in that struct. */
member_fc = bt_field_class_structure_member_borrow_field_class_const(
member);
member_name = bt_field_class_structure_member_get_name(member);
member_fc = bt_field_class_structure_member_borrow_field_class_const(
member);
member_name = bt_field_class_structure_member_get_name(member);
"index=%" PRId64 ", "
"member-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
"index=%" PRId64 ", "
"member-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
out_member_field_class = create_field_class_copy(md_maps,
member_fc);
if (!out_member_field_class) {
out_member_field_class = create_field_class_copy(md_maps,
member_fc);
if (!out_member_field_class) {
"index=%" PRId64 ", "
"field-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
"index=%" PRId64 ", "
"field-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
status = bt_field_class_structure_append_member(out_field_class,
member_name, out_member_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
status = bt_field_class_structure_append_member(out_field_class,
member_name, out_member_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
"index=%" PRId64 ", "
"field-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
"index=%" PRId64 ", "
"field-fc-addr=%p, field-name=\"%s\"",
i, member_fc, member_name);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
out_tag_field_class = g_hash_table_lookup(
md_maps->field_class_map, tag_fc);
if (!out_tag_field_class) {
out_tag_field_class = g_hash_table_lookup(
md_maps->field_class_map, tag_fc);
if (!out_tag_field_class) {
out_field_class, option_name,
out_option_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
out_field_class, option_name,
out_option_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
"out-fc-addr=%p", in_field_class, out_field_class);
/*
* There is no content to copy. Keep this function call anyway for
* logging purposes.
*/
"out-fc-addr=%p", in_field_class, out_field_class);
/*
* There is no content to copy. Keep this function call anyway for
* logging purposes.
*/
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"in-fc-addr=%p, out-fc-addr=%p",
in_field_class, out_field_class);
"field path: in-len-fp=%p", len_fp);
len_fc = resolve_field_path_to_field_class(
len_fp, md_maps);
out_len_field_class = g_hash_table_lookup(
md_maps->field_class_map, len_fc);
if (!out_len_field_class) {
"field path: in-len-fp=%p", len_fp);
len_fc = resolve_field_path_to_field_class(
len_fp, md_maps);
out_len_field_class = g_hash_table_lookup(
md_maps->field_class_map, len_fc);
if (!out_len_field_class) {
status = bt_field_class_dynamic_array_set_length_field_class(
out_field_class, out_len_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
status = bt_field_class_dynamic_array_set_length_field_class(
out_field_class, out_len_field_class);
if (status != BT_FIELD_CLASS_STATUS_OK) {
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
const bt_field_class *in_field_class,
bt_field_class *out_field_class)
{
"out-fc-addr=%p", in_field_class, out_field_class);
/*
* There is no content to copy. Keep this function call anyway for
* logging purposes.
*/
"out-fc-addr=%p", in_field_class, out_field_class);
/*
* There is no content to copy. Keep this function call anyway for
* logging purposes.
*/
bt_field_class *out_elem_fc =
create_field_class_copy_internal(md_maps, in_elem_fc);
if (!out_elem_fc) {
bt_field_class *out_elem_fc =
create_field_class_copy_internal(md_maps, in_elem_fc);
if (!out_elem_fc) {
"from input elem field class for static array: "
"in-fc-addr=%p", in_elem_fc);
goto error;
"from input elem field class for static array: "
"in-fc-addr=%p", in_elem_fc);
goto error;
"from input elem field class for static array: "
"in-fc-addr=%p", in_elem_fc);
BT_FIELD_CLASS_PUT_REF_AND_RESET(out_elem_fc);
"from input elem field class for static array: "
"in-fc-addr=%p", in_elem_fc);
BT_FIELD_CLASS_PUT_REF_AND_RESET(out_elem_fc);