#include "git-compat-util.h"
#include "trace2/tr2_tgt.h"
#include "trace2/tr2_tls.h"
#include "trace2/tr2_ctr.h"
static struct tr2_counter_block final_counter_block;
static struct tr2_counter_metadata tr2_counter_metadata[TRACE2_NUMBER_OF_COUNTERS] = …;
void tr2_counter_increment(enum trace2_counter_id cid, uint64_t value)
{ … }
void tr2_update_final_counters(void)
{ … }
void tr2_emit_per_thread_counters(tr2_tgt_evt_counter_t *fn_apply)
{ … }
void tr2_emit_final_counters(tr2_tgt_evt_counter_t *fn_apply)
{ … }