BT_ASSERT(child);
BT_ASSERT(child->is_shared);
-#ifdef BT_LOGV
- BT_LOGV("Setting object's parent: addr=%p, parent-addr=%p",
+#ifdef BT_LOGT
+ BT_LOGT("Setting object's parent: addr=%p, parent-addr=%p",
child, parent);
#endif
*/
struct bt_ctf_object *parent = obj->parent;
-#ifdef BT_LOGV
- BT_LOGV("Releasing parented object: addr=%p, ref-count=%llu, "
+#ifdef BT_LOGT
+ BT_LOGT("Releasing parented object: addr=%p, ref-count=%llu, "
"parent-addr=%p, parent-ref-count=%llu",
obj, obj->ref_count,
parent, parent->ref_count);
BT_ASSERT(obj);
BT_ASSERT(obj->is_shared);
-#ifdef BT_LOGV
- BT_LOGV("Incrementing object's reference count: %llu -> %llu: "
+#ifdef BT_LOGT
+ BT_LOGT("Incrementing object's reference count: %llu -> %llu: "
"addr=%p, cur-count=%llu, new-count=%llu",
obj->ref_count, obj->ref_count + 1,
obj, obj->ref_count, obj->ref_count + 1);
BT_ASSERT(obj->is_shared);
if (G_UNLIKELY(obj->parent && bt_ctf_object_get_ref_count(obj) == 0)) {
-#ifdef BT_LOGV
- BT_LOGV("Incrementing object's parent's reference count: "
+#ifdef BT_LOGT
+ BT_LOGT("Incrementing object's parent's reference count: "
"addr=%p, parent-addr=%p", obj, obj->parent);
#endif
bt_ctf_object_get_no_null_check(obj->parent);
}
-#ifdef BT_LOGV
- BT_LOGV("Incrementing object's reference count: %llu -> %llu: "
+#ifdef BT_LOGT
+ BT_LOGT("Incrementing object's reference count: %llu -> %llu: "
"addr=%p, cur-count=%llu, new-count=%llu",
obj->ref_count, obj->ref_count + 1,
obj, obj->ref_count, obj->ref_count + 1);
BT_ASSERT(obj->is_shared);
BT_ASSERT(obj->ref_count > 0);
-#ifdef BT_LOGV
- BT_LOGV("Decrementing object's reference count: %llu -> %llu: "
+#ifdef BT_LOGT
+ BT_LOGT("Decrementing object's reference count: %llu -> %llu: "
"addr=%p, cur-count=%llu, new-count=%llu",
obj->ref_count, obj->ref_count - 1,
obj, obj->ref_count, obj->ref_count - 1);