Go to the documentation of this file.
90 while (logger && store) {
95 logger = logger->
next;
116 SCLogDebug(
"OutputStatsLogThreadInit happy (*data %p)", *data);
127 ts->thread_data = retptr;
129 if (td->
store == NULL) {
133 while (tmp->
next != NULL)
142 logger = logger->
next;
145 SCLogDebug(
"OutputStatsLogThreadInit happy (*data %p)", *data);
155 while (logger && store) {
162 logger = logger->
next;
190 logger = next_logger;
struct OutputLoggerThreadStore_ * next
void TmModuleStatsLoggerRegister(void)
void OutputStatsShutdown(void)
int OutputRegisterStatsLogger(const char *name, StatsLogger LogFunc, OutputCtx *output_ctx, ThreadInitFunc ThreadInit, ThreadDeinitFunc ThreadDeinit)
struct OutputStatsLogger_ OutputStatsLogger
TmEcode(* ThreadDeinit)(ThreadVars *, void *)
ThreadDeinitFunc ThreadDeinit
OutputLoggerThreadStore * store
ThreadInitFunc ThreadInit
Per thread variable structure.
TmEcode(* ThreadInitFunc)(ThreadVars *, const void *, void **)
TmModule tmm_modules[TMM_SIZE]
struct OutputStatsLogger_ * next
struct OutputStatsLoggerThreadData_ OutputStatsLoggerThreadData
TmEcode(* ThreadInit)(ThreadVars *, const void *, void **)
int OutputStatsLoggersRegistered(void)
int(* StatsLogger)(ThreadVars *, void *thread_data, const StatsTable *)
#define DEBUG_VALIDATE_BUG_ON(exp)
TmEcode OutputStatsLog(ThreadVars *tv, void *thread_data, StatsTable *st)
TmEcode(* ThreadDeinitFunc)(ThreadVars *, void *)