app-layer/profiling: hide profiling code behind guards

pull/7392/head
Victor Julien 4 years ago
parent 93050c26b3
commit 905050a053

@ -959,6 +959,7 @@ void AppLayerDestroyCtxThread(AppLayerThreadCtx *app_tctx)
SCReturn;
}
#ifdef PROFILING
void AppLayerProfilingResetInternal(AppLayerThreadCtx *app_tctx)
{
PACKET_PROFILING_APP_RESET(app_tctx);
@ -968,6 +969,7 @@ void AppLayerProfilingStoreInternal(AppLayerThreadCtx *app_tctx, Packet *p)
{
PACKET_PROFILING_APP_STORE(app_tctx, p);
}
#endif
/** \brief HACK to work around our broken unix manager (re)init loop
*/

Loading…
Cancel
Save