Update to use caa_likely/caa_unlikely from urcu 0.6.6
[lttng-ust.git] / libust / lttng-context-vtid.c
index e03b0a0f1ad42ae71b58aacdf73cd72c1352356c..25e2febf15bf5352adf0508069ac3d2fdb41435b 100644 (file)
@@ -63,7 +63,7 @@ void vtid_record(struct lttng_ctx_field *field,
                 struct lttng_ust_lib_ring_buffer_ctx *ctx,
                 struct ltt_channel *chan)
 {
-       if (unlikely(!cached_vtid))
+       if (caa_unlikely(!cached_vtid))
                cached_vtid = gettid();
        lib_ring_buffer_align_ctx(ctx, lttng_alignof(cached_vtid));
        chan->ops->event_write(ctx, &cached_vtid, sizeof(cached_vtid));
This page took 0.022939 seconds and 4 git commands to generate.