projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove inappropriate \n from easy-ust sample
[lttng-ust.git]
/
include
/
usterr.h
diff --git
a/include/usterr.h
b/include/usterr.h
index cab65407dca9c0c5740e038008b884d9480ac3d3..35d576ec1815ab755cd80b8a8b2659fbacfe62ee 100644
(file)
--- a/
include/usterr.h
+++ b/
include/usterr.h
@@
-27,8
+27,6
@@
#include <stdarg.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdio.h>
-#include <ust/core.h>
-
#include "share.h"
enum ust_loglevel {
#include "share.h"
enum ust_loglevel {
@@
-64,7
+62,7
@@
static inline int ust_debug(void)
__func__); \
} while(0)
__func__); \
} while(0)
-#ifdef UST_DEBUG
+#ifdef
LTTNG_
UST_DEBUG
# define DBG(fmt, args...) ERRMSG(fmt, ## args)
# define DBG_raw(fmt, args...) \
do { \
# define DBG(fmt, args...) ERRMSG(fmt, ## args)
# define DBG_raw(fmt, args...) \
do { \
@@
-107,12
+105,12
@@
static inline int ust_debug(void)
#define BUG_ON(condition) \
do { \
#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 { \
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)
WARN("condition not respected on line %s:%d", __FILE__, __LINE__); \
} while(0)
#define WARN_ON_ONCE(condition) WARN_ON(condition)
This page took
0.024178 seconds
and
4
git commands to generate.