From: Mathieu Desnoyers Date: Wed, 19 Jun 2013 00:22:08 +0000 (-0400) Subject: Fix bug introduced by backport of "Clarify probe registration documentation/errors" X-Git-Tag: v2.0.7~1 X-Git-Url: https://git.lttng.org/?a=commitdiff_plain;ds=sidebyside;h=2b010083733432c5887a891aac7cd6147a8e93fb;p=lttng-ust.git Fix bug introduced by backport of "Clarify probe registration documentation/errors" Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index f52ae961..679faf64 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -561,6 +561,7 @@ _TP_COMBINE_TOKENS(__lttng_events_init__, TRACEPOINT_PROVIDER)(void) * error will appear. */ _TP_COMBINE_TOKENS(__tracepoint_provider_check_, TRACEPOINT_PROVIDER)(); + ret = ltt_probe_register(&_TP_COMBINE_TOKENS(__probe_desc___, TRACEPOINT_PROVIDER)); if (ret) { fprintf(stderr, "LTTng-UST: Error (%d) while registering tracepoint probe. Duplicate registration of tracepoint probes having the same name is not allowed.\n", ret); abort();