projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force usage of assert() condition when NDEBUG is defined
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index 8af989e0436fd910678eb994fa7ebef48c63dd0a..daef71fdbc90646be59ebc781131a59688ad6c0c 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-44,7
+44,7
@@
struct log_time {
char str[19];
};
extern DECLARE_URCU_TLS(struct log_time, error_log_time);
char str[19];
};
extern DECLARE_URCU_TLS(struct log_time, error_log_time);
-extern DECLARE_URCU_TLS(const char *, logger_thread_name);
+extern
LTTNG_HIDDEN
DECLARE_URCU_TLS(const char *, logger_thread_name);
extern int lttng_opt_quiet;
extern int lttng_opt_verbose;
extern int lttng_opt_quiet;
extern int lttng_opt_verbose;
@@
-221,7
+221,7
@@
static inline void __lttng_print_check_abort(enum lttng_error_level type)
DBG3(fmt, ## args); \
break; \
default: \
DBG3(fmt, ## args); \
break; \
default: \
- a
ssert(0);
\
+ a
bort();
\
} \
} while(0);
} \
} while(0);
This page took
0.023364 seconds
and
4
git commands to generate.