goto error;
}
- ret = bt_private_field_class_structure_append_private_member(root_fc,
+ ret = bt_private_field_class_structure_append_member(root_fc,
"str", fc);
if (ret) {
BT_LOGE("Cannot add `str` member to structure field class: "
goto error;
}
- ret = bt_private_event_class_set_payload_private_field_class(dmesg_comp->event_class, fc);
+ ret = bt_private_event_class_set_payload_field_class(dmesg_comp->event_class, fc);
if (ret) {
BT_LOGE_STR("Cannot set event class's event payload field class.");
goto error;
static
enum bt_component_status create_port(struct bt_private_component *priv_comp)
{
- return bt_private_component_source_add_output_private_port(priv_comp,
+ return bt_private_component_source_add_output_port(priv_comp,
"out", NULL, NULL);
}
goto error;
}
- event = bt_private_notification_event_borrow_private_event(notif);
+ event = bt_private_notification_event_borrow_event(notif);
BT_ASSERT(event);
if (dmesg_comp->clock_class) {
size_t len;
int ret;
- ep_field = bt_private_event_borrow_payload_private_field(event);
+ ep_field = bt_private_event_borrow_payload_field(event);
BT_ASSERT(ep_field);
- str_field = bt_private_field_structure_borrow_member_private_field_by_index(
+ str_field = bt_private_field_structure_borrow_member_field_by_index(
ep_field, 0);
if (!str_field) {
BT_LOGE_STR("Cannot borrow `timestamp` field from event payload structure field.");
goto error;
}
- event = bt_private_notification_event_borrow_private_event(notif);
+ event = bt_private_notification_event_borrow_event(notif);
BT_ASSERT(event);
ret = fill_event_payload_from_line(new_start, event);
if (ret) {