X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Flttng-abi.c;h=7096daf7a544358202e14f49ae210d13397c48b2;hb=6657edecc8dd4f294c42339645151006f60b3811;hp=838534368d0c018b9ac8cce9940a2a8ad77296fe;hpb=caf6ac496bf11139aefc46a69d2913e7f7222733;p=lttng-modules.git diff --git a/src/lttng-abi.c b/src/lttng-abi.c index 83853436..7096daf7 100644 --- a/src/lttng-abi.c +++ b/src/lttng-abi.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include @@ -2150,7 +2151,7 @@ long lttng_abi_event_notifier_group_create_error_counter( * in record_error. Ensures the counter is created and the * error_counter_len is set before they are used. */ - smp_store_release(&event_notifier_group->error_counter, counter); + lttng_smp_store_release(&event_notifier_group->error_counter, counter); counter->file = counter_file; counter->owner = event_notifier_group->file;