Update to use caa_likely/caa_unlikely from urcu 0.6.6
[lttng-ust.git] / libust / lttng-context-procname.c
index 2056d1941aa52484e5f16df60c43ea15bf077e65..c1f1ced95e3ba795579eb7d0b51b7ec8b470fb9e 100644 (file)
@@ -28,7 +28,7 @@ char *wrapper_getprocname(void)
 {
        int ret;
 
-       if (unlikely(!cached_procname[0])) {
+       if (caa_unlikely(!cached_procname[0])) {
                ret = prctl(PR_GET_NAME, (unsigned long) cached_procname,
                        0, 0, 0);
                assert(!ret);
@@ -52,7 +52,7 @@ size_t procname_get_size(size_t offset)
 
 static
 void procname_record(struct lttng_ctx_field *field,
-                struct lib_ring_buffer_ctx *ctx,
+                struct lttng_ust_lib_ring_buffer_ctx *ctx,
                 struct ltt_channel *chan)
 {
        char *procname;
This page took 0.023916 seconds and 4 git commands to generate.