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
/
bin
/
lttng-consumerd
/
health-consumerd.c
diff --git
a/src/bin/lttng-consumerd/health-consumerd.c
b/src/bin/lttng-consumerd/health-consumerd.c
index ffa0f3d0df2651993196dbe0cd86858955719561..90b4b1e12439eb9dcc34a265c20c37a3608668ce 100644
(file)
--- a/
src/bin/lttng-consumerd/health-consumerd.c
+++ b/
src/bin/lttng-consumerd/health-consumerd.c
@@
-25,7
+25,6
@@
#include <poll.h>
#include <unistd.h>
#include <sys/mman.h>
#include <poll.h>
#include <unistd.h>
#include <sys/mman.h>
-#include <assert.h>
#include <urcu/compiler.h>
#include <ulimit.h>
#include <inttypes.h>
#include <urcu/compiler.h>
#include <ulimit.h>
#include <inttypes.h>
@@
-298,7
+297,7
@@
restart:
rcu_thread_online();
rcu_thread_online();
-
assert
(msg.cmd == HEALTH_CMD_CHECK);
+
LTTNG_ASSERT
(msg.cmd == HEALTH_CMD_CHECK);
memset(&reply, 0, sizeof(reply));
for (i = 0; i < NR_HEALTH_CONSUMERD_TYPES; i++) {
memset(&reply, 0, sizeof(reply));
for (i = 0; i < NR_HEALTH_CONSUMERD_TYPES; i++) {
This page took
0.024758 seconds
and
4
git commands to generate.