*/
#include <assert.h>
-#include <time.h>
+#include <common/compat/time.h>
#include <pthread.h>
#include <urcu/tls-compat.h>
#include <urcu/uatomic.h>
#include <urcu/list.h>
+#include <lttng/health.h>
+#include <common/macros.h>
/*
* These are the value added to the current state depending of the position in
};
struct health_comm_msg {
- uint32_t component;
uint32_t cmd; /* enum health_cmd */
} LTTNG_PACKED;
struct health_comm_reply {
- uint32_t ret_code;
+ uint64_t ret_code; /* bitmask of threads in bad health */
} LTTNG_PACKED;
/* Declare TLS health state. */