Fix bug introduced by backport of "Clarify probe registration documentation/errors"
[lttng-ust.git] / include / lttng / ust-tracepoint-event.h
index f52ae961d12a3c9187a66d39f56f8c4212f976d1..679faf645fb9a531a18964d90dd7591fd9c72dad 100644 (file)
@@ -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();
This page took 0.022839 seconds and 4 git commands to generate.