mirror of https://github.com/OISF/suricata
Make AppLayerProfiling functions inline
The entire body of these functions are protected by ifdef PROFILING. If the functions are inlined, then this check removes the need for the function entirely. Previously, the empty function was still called, even when not built for profiling. The functions showed as being 0.25% of total CPU time without being built for profiling.pull/1184/head
parent
07fffa6a7d
commit
b2b1239ddf
Loading…
Reference in New Issue