bt_ctf_stream_class_destroy(): log what is being destroyed/put
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 May 2017 23:09:23 +0000 (19:09 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:44 +0000 (12:57 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/stream-class.c

index 9a63043acccdc2d01c34d3239124031ae35f24dd..a9f1c12a01cb88d184a771766b62e99b24093d4d 100644 (file)
@@ -1102,6 +1102,7 @@ void bt_ctf_stream_class_destroy(struct bt_object *obj)
                g_hash_table_destroy(stream_class->event_classes_ht);
        }
        if (stream_class->event_classes) {
+               BT_LOGD_STR("Destroying event classes.");
                g_ptr_array_free(stream_class->event_classes, TRUE);
        }
 
@@ -1109,8 +1110,11 @@ void bt_ctf_stream_class_destroy(struct bt_object *obj)
                g_string_free(stream_class->name, TRUE);
        }
 
+       BT_LOGD_STR("Putting event header field type.");
        bt_put(stream_class->event_header_type);
+       BT_LOGD_STR("Putting packet context field type.");
        bt_put(stream_class->packet_context_type);
+       BT_LOGD_STR("Putting event context field type.");
        bt_put(stream_class->event_context_type);
        g_free(stream_class);
 }
This page took 0.025976 seconds and 4 git commands to generate.