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-relayd
/
health-relayd.c
diff --git
a/src/bin/lttng-relayd/health-relayd.c
b/src/bin/lttng-relayd/health-relayd.c
index 3ffb9b75968c7586b28666409579a58774f36488..57fa70f225c8b23a08ff27967b8656063d7b0359 100644
(file)
--- a/
src/bin/lttng-relayd/health-relayd.c
+++ b/
src/bin/lttng-relayd/health-relayd.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 <inttypes.h>
#include <urcu/compiler.h>
#include <inttypes.h>
@@
-441,7
+440,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_RELAYD_TYPES; i++) {
memset(&reply, 0, sizeof(reply));
for (i = 0; i < NR_HEALTH_RELAYD_TYPES; i++) {
This page took
0.024753 seconds
and
4
git commands to generate.