Fix: keep event probe signature, for use by event probe signature check
[lttng-ust.git] / liblttng-ust / ltt-probes.c
index 056fad06a161bcad2db548a705fc25e2a14c976b..0de5c6a48f2ed6b5a4b0fd71b068cac6519c4433 100644 (file)
 #include <urcu/list.h>
 #include <urcu/hlist.h>
 #include <lttng/ust-events.h>
+#include <lttng/tracepoint.h>
+#include "tracepoint-internal.h"
 #include <assert.h>
 #include <helper.h>
 #include <ctype.h>
 
-#include "tracepoint-internal.h"
 #include "ltt-tracer-core.h"
 #include "jhash.h"
 #include "error.h"
@@ -98,7 +99,12 @@ desc_added:
         * fix the events awaiting probe load.
         */
        for (i = 0; i < desc->nr_events; i++) {
-               ret = pending_probe_fix_events(desc->event_desc[i]);
+               const struct lttng_event_desc *ed;
+
+               ed = desc->event_desc[i];
+               DBG("Registered event probe \"%s\" with signature \"%s\"",
+                       ed->name, ed->signature);
+               ret = pending_probe_fix_events(ed);
                assert(!ret);
        }
 end:
This page took 0.023938 seconds and 4 git commands to generate.