X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-client.h;fp=liblttng-ust%2Flttng-ring-buffer-client.h;h=6ed067105d8e7fd0f8a280e3f09caa0375186836;hb=adc9978d37d8e003fb45257600f543bfc1150e2e;hp=c5867dc1b697f2434a5bf17e74a98de85878661c;hpb=082802f9e5efe64195520826743ea9c23e4ea1b7;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-client.h b/liblttng-ust/lttng-ring-buffer-client.h index c5867dc1..6ed06710 100644 --- a/liblttng-ust/lttng-ring-buffer-client.h +++ b/liblttng-ust/lttng-ring-buffer-client.h @@ -715,7 +715,7 @@ int lttng_event_reserve(struct lttng_ust_lib_ring_buffer_ctx *ctx, } ret = lib_ring_buffer_reserve(&client_config, ctx); - if (ret) + if (caa_unlikely(ret)) goto put; if (caa_likely(ctx->ctx_len >= sizeof(struct lttng_ust_lib_ring_buffer_ctx))) {