X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;h=785c87e516904017948d0227e034a2b5f2b5711f;hb=d3db6a40c99e4c4bd81be92413efb5c867baf6e4;hp=3433560a10e9d2ce220cb925a0252c01211bc391;hpb=178ee83cb5b6463ae7299462ab2ce3598a0421fc;p=lttng-ust.git diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 3433560a..785c87e5 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -153,7 +153,7 @@ void __tracepoint_cb_##_provider##___##_name(_TP_ARGS_PROTO(__VA_ARGS__)) \ { \ struct tracepoint_probe *__tp_probe; \ \ - if (!TP_RCU_LINK_TEST()) \ + if (caa_unlikely(!TP_RCU_LINK_TEST())) \ return; \ tp_rcu_read_lock_bp(); \ __tp_probe = tp_rcu_dereference_bp(__tracepoint_##_provider##___##_name.probes); \