From: Mathieu Desnoyers Date: Fri, 16 Dec 2011 22:03:38 +0000 (-0500) Subject: Add DBG message when registering a probe X-Git-Tag: v1.9.3~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e81a53afbf8fc88951cace52adc45bb02994fe55;p=lttng-ust.git Add DBG message when registering a probe Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/ltt-probes.c b/liblttng-ust/ltt-probes.c index 9dc23560..12ddb479 100644 --- a/liblttng-ust/ltt-probes.c +++ b/liblttng-ust/ltt-probes.c @@ -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(); }