diff --git a/src/counters.h b/src/counters.h index 6552cc4560..e337476fa5 100644 --- a/src/counters.h +++ b/src/counters.h @@ -90,12 +90,12 @@ typedef struct StatsLocalCounter_ { * \brief Stats Context for a ThreadVars instance */ typedef struct StatsPublicThreadContext_ { - /* flag set by the wakeup thread, to inform the client threads to sync */ - SC_ATOMIC_DECLARE(bool, sync_now); - /* pointer to the head of a list of counters assigned under this context */ StatsCounter *head; + /* flag set by the wakeup thread, to inform the client threads to sync */ + SC_ATOMIC_DECLARE(bool, sync_now); + /* holds the total no of counters already assigned for this perf context */ uint16_t curr_id;