Do this to allow for including of runtime buffer registrations.
}
#ifdef PROFILING
+ SCProfilingKeywordInitCounters(de_ctx);
+ de_ctx->profile_match_logging_threshold = UINT_MAX; // disabled
+
+ intmax_t v = 0;
+ if (ConfGetInt("detect.profiling.inspect-logging-threshold", &v) == 1)
+ de_ctx->profile_match_logging_threshold = (uint32_t)v;
+
SCProfilingRuleInitCounters(de_ctx);
#endif
SCFree(de_ctx->app_mpms);
/* init iprep... ignore errors for now */
(void)SRepInit(de_ctx);
-#ifdef PROFILING
- SCProfilingKeywordInitCounters(de_ctx);
- de_ctx->profile_match_logging_threshold = UINT_MAX; // disabled
-
- intmax_t v = 0;
- if (ConfGetInt("detect.profiling.inspect-logging-threshold", &v) == 1)
- de_ctx->profile_match_logging_threshold = (uint32_t)v;
-#endif
-
SCClassConfLoadClassficationConfigFile(de_ctx, NULL);
SCRConfLoadReferenceConfigFile(de_ctx, NULL);