Add DBG message when registering a probe
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Dec 2011 22:03:38 +0000 (17:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 16 Dec 2011 22:03:38 +0000 (17:03 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/ltt-probes.c

index 9dc2356088e8b7a69bcb36f1180384266bae654f..12ddb47973ee9d3fb7be28b5dd120c74af5137b9 100644 (file)
@@ -105,7 +105,8 @@ int ltt_probe_register(struct lttng_probe_desc *desc)
        /* We should be added at the head of the list */
        cds_list_add(&desc->head, &probe_list);
 desc_added:
-
+       DBG("just registered probe %s containing %u events",
+               desc->provider, desc->nr_events);
        /*
         * fix the events awaiting probe load.
         */
@@ -122,6 +123,7 @@ void ltt_probe_unregister(struct lttng_probe_desc *desc)
 {
        ust_lock();
        cds_list_del(&desc->head);
+       DBG("just unregistered probe %s", desc->provider);
        ust_unlock();
 }
 
This page took 0.024634 seconds and 4 git commands to generate.