BT_HIDDEN
void bt_ctf_event_freeze(struct bt_ctf_event *event);
-BT_HIDDEN
static inline struct bt_ctf_packet *bt_ctf_event_borrow_packet(
struct bt_ctf_event *event)
{
enum bt_notification_type type,
bt_object_release_func release);
-BT_HIDDEN
static inline void bt_notification_freeze(struct bt_notification *notification)
{
notification->frozen = BT_TRUE;
struct bt_ctf_field_type *type)
{
struct bt_ctf_field_type *copy;
- struct bt_ctf_field_type_string *string;
BT_LOGD("Copying string field type's: addr=%p", type);
copy = bt_ctf_field_type_string_create();
goto end;
}
- string = container_of(type, struct bt_ctf_field_type_string,
- parent);
BT_LOGD("Copied string field type: original-ft-addr=%p, copy-ft-addr=%p",
type, copy);
end:
bt_ctf_field_type_get_type_id(type);
/* Find to which index corresponds the current path token */
- if (type_id == CTF_TYPE_ARRAY || type_id == CTF_TYPE_SEQUENCE) {
+ if (type_id == BT_CTF_FIELD_TYPE_ID_ARRAY ||
+ type_id == BT_CTF_FIELD_TYPE_ID_SEQUENCE) {
child_index = -1;
} else {
child_index = bt_ctf_field_type_get_field_index(type,