29 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_ADDB 41 #define SYS() (m0_addb2_module_get()->am_sys) 81 .co_queue_max = 4 * 1024 * 1024,
83 .co_pool_max = 1024 * 1024
105 #undef M0_TRACE_SUBSYSTEM
struct m0_addb2_mach * tls_addb2_mach
#define M0_ADDB2_PUSH(id,...)
static struct m0_addb2_mach * mach
M0_INTERNAL struct m0_thread_tls * m0_thread_tls(void)
void m0_addb2_sys_fini(struct m0_addb2_sys *sys)
void m0_addb2_push(uint64_t id, int n, const uint64_t *value)
M0_INTERNAL void m0_addb2_global_thread_leave(void)
int m0_addb2_sys_init(struct m0_addb2_sys **out, const struct m0_addb2_config *conf)
#define M0_ADDB2_OBJ(obj)
M0_INTERNAL void m0_addb2_global_thread_enter(void)
static __thread struct m0_thread_tls * tls
struct m0_addb2_sensor tls_clock
void m0_addb2_clock_add(struct m0_addb2_sensor *clock, uint64_t label, int idx)
void m0_addb2_pop(uint64_t id)
struct m0_addb2_mach * m0_addb2_sys_get(struct m0_addb2_sys *sys)
M0_INTERNAL struct m0_addb2_sys * m0_addb2_global_get(void)
M0_INTERNAL struct m0_uint128 m0_node_uuid
struct m0_thread * tls_self
struct m0_thread_handle t_h
void m0_addb2_sys_put(struct m0_addb2_sys *sys, struct m0_addb2_mach *m)
M0_INTERNAL uint64_t m0_pid(void)
M0_INTERNAL void m0_addb2_global_fini(void)
M0_INTERNAL int m0_addb2_global_init(void)