X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=liblttng-ust%2Flttng-probes.c;fp=liblttng-ust%2Flttng-probes.c;h=522b80a1b6a10fbde57c1814082ce262dca25347;hb=d5fc322413227cc4750d8a458226f16018203f20;hp=862b19e7c47e3c7c5b5e262e5b1bc02edf3c090f;hpb=6b32a5c3984c2f26d78a6776c093d4f0924e05fc;p=lttng-ust.git diff --git a/liblttng-ust/lttng-probes.c b/liblttng-ust/lttng-probes.c index 862b19e7..522b80a1 100644 --- a/liblttng-ust/lttng-probes.c +++ b/liblttng-ust/lttng-probes.c @@ -35,6 +35,7 @@ #include "lttng-tracer-core.h" #include "jhash.h" #include "error.h" +#include "ust-events-internal.h" /* * probe list is protected by ust_lock()/ust_unlock(). @@ -204,6 +205,8 @@ int lttng_probe_register(struct lttng_probe_desc *desc) if (lttng_session_active()) fixup_lazy_probes(); + lttng_fix_pending_triggers(); + ust_unlock(); return ret; }