X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Fhealth-internal.h;h=f4270647f8f999a79a22bc0fef945e913facde0e;hp=764e998e3045c87f7c893fdc4bbcaa22ff7a0f0f;hb=0c89d7959f4af7a2b39e925b2e8dc3a8954ccfa5;hpb=9ce5646a7ef9b8d7936c46649a21ee546fadd538 diff --git a/include/lttng/health-internal.h b/include/lttng/health-internal.h index 764e998e3..f4270647f 100644 --- a/include/lttng/health-internal.h +++ b/include/lttng/health-internal.h @@ -59,6 +59,19 @@ struct health_state { struct cds_list_head node; }; +enum health_cmd { + HEALTH_CMD_CHECK = 0, +}; + +struct health_comm_msg { + uint32_t component; + uint32_t cmd; /* enum health_cmd */ +} LTTNG_PACKED; + +struct health_comm_reply { + uint32_t ret_code; +} LTTNG_PACKED; + /* Declare TLS health state. */ extern DECLARE_URCU_TLS(struct health_state, health_state);