diff options
Diffstat (limited to 'trace2/tr2_tls.h')
-rw-r--r-- | trace2/tr2_tls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/trace2/tr2_tls.h b/trace2/tr2_tls.h index a064b66e4c..f9049805d4 100644 --- a/trace2/tr2_tls.h +++ b/trace2/tr2_tls.h @@ -2,6 +2,7 @@ #define TR2_TLS_H #include "strbuf.h" +#include "trace2/tr2_ctr.h" #include "trace2/tr2_tmr.h" /* @@ -22,8 +23,11 @@ struct tr2tls_thread_ctx { size_t nr_open_regions; /* plays role of "nr" in ALLOC_GROW */ int thread_id; struct tr2_timer_block timer_block; + struct tr2_counter_block counter_block; unsigned int used_any_timer:1; unsigned int used_any_per_thread_timer:1; + unsigned int used_any_counter:1; + unsigned int used_any_per_thread_counter:1; }; /* |