#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 cds_list_head node;
};
+enum health_cmd {
+ HEALTH_CMD_CHECK = 0,
+};
+
+struct health_comm_msg {
+ uint32_t cmd; /* enum health_cmd */
+} LTTNG_PACKED;
+
+struct health_comm_reply {
+ uint64_t ret_code; /* bitmask of threads in bad health */
+} LTTNG_PACKED;
+
/* Declare TLS health state. */
extern DECLARE_URCU_TLS(struct health_state, health_state);