29 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_HA 47 #define HACO_F "(pid=%" PRIu64 " time_start="TIME_F" uptime="TIME_F" " \ 49 #define HACO_P(_hc) (_hc)->hc_pid, \ 50 TIME_P((_hc)->hc_time_start), \ 51 TIME_P((_hc)->hc_uptime), \ 52 U128_P(&(_hc)->hc_uuid) 115 #undef M0_TRACE_SUBSYSTEM M0_INTERNAL uint64_t m0_process(void)
M0_INTERNAL void m0_uuid_generate(struct m0_uint128 *u)
const m0_time_t M0_TIME_NEVER
M0_INTERNAL bool m0_uint128_eq(const struct m0_uint128 *u0, const struct m0_uint128 *u1)
#define M0_LOG(level,...)
struct m0_uint128 hcx_uuid
M0_INTERNAL void m0_ha_cookie_to_xc(const struct m0_ha_cookie *hc, struct m0_ha_cookie_xc *hc_xc)
M0_INTERNAL void m0_ha_cookie_init(struct m0_ha_cookie *hc)
M0_INTERNAL void m0_ha_cookie_fini(struct m0_ha_cookie *hc)
M0_INTERNAL bool m0_ha_cookie_is_eq(const struct m0_ha_cookie *a, const struct m0_ha_cookie *b)
const struct m0_ha_cookie m0_ha_cookie_no_record
m0_time_t m0_time_now(void)
M0_INTERNAL void m0_ha_cookie_record(struct m0_ha_cookie *hc)
struct m0_uint128 hc_uuid
#define M0_UINT128(hi, lo)
M0_INTERNAL void m0_ha_cookie_from_xc(struct m0_ha_cookie *hc, const struct m0_ha_cookie_xc *hc_xc)