Move include/ust/ to include/lttng/
[lttng-ust.git] / include / usterr.h
index cab65407dca9c0c5740e038008b884d9480ac3d3..820d4f03d9bd062524a060556ce99398ff2da1cb 100644 (file)
@@ -27,9 +27,8 @@
 #include <stdarg.h>
 #include <stdio.h>
 
-#include <ust/core.h>
-
-#include "share.h"
+#include <lttng/core.h>
+#include "lttng/share.h"
 
 enum ust_loglevel {
        UST_LOGLEVEL_UNKNOWN = 0,
@@ -107,12 +106,12 @@ static inline int ust_debug(void)
 
 #define BUG_ON(condition)                                      \
        do {                                                    \
-               if (unlikely(condition))                        \
+               if (caa_unlikely(condition))                    \
                        ERR("condition not respected (BUG) on line %s:%d", __FILE__, __LINE__); \
        } while(0)
 #define WARN_ON(condition)                                     \
        do {                                                    \
-               if (unlikely(condition))                        \
+               if (caa_unlikely(condition))                    \
                        WARN("condition not respected on line %s:%d", __FILE__, __LINE__); \
        } while(0)
 #define WARN_ON_ONCE(condition) WARN_ON(condition)
This page took 0.023908 seconds and 4 git commands to generate.