X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-tracepoint-event.h;h=e46cc1a1a28cc4d9c440a3ccb816d79ef530e840;hb=3ac4bd8ab309129f091ac180fb68e49cfc23dc8b;hp=b3fb2d404e6f1785f3382bb5d3d48d462ee4c022;hpb=fd9619bcf98bae43e3418b6c61d2727d49d7d54b;p=lttng-ust.git diff --git a/include/lttng/ust-tracepoint-event.h b/include/lttng/ust-tracepoint-event.h index b3fb2d40..e46cc1a1 100644 --- a/include/lttng/ust-tracepoint-event.h +++ b/include/lttng/ust-tracepoint-event.h @@ -502,6 +502,8 @@ void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args)) \ return; \ if (caa_unlikely(!CMM_ACCESS_ONCE(__event->enabled))) \ return; \ + if (caa_unlikely(!TP_RCU_LINK_TEST())) \ + return; \ if (caa_unlikely(!cds_list_empty(&__event->bytecode_runtime_head))) { \ struct lttng_bytecode_runtime *bc_runtime; \ int __filter_record = __event->has_enablers_without_bytecode; \