inliniac/suricata — pull request #1181 by ken-tilera (2014-10-24 14:44:58+00:00)
Title: 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 call 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.

- PR build: https://buildbot.openinfosecfoundation.org/builders/ken-tilera/builds/31
- PR pcaps: https://buildbot.openinfosecfoundation.org/builders/ken-tilera-pcap/builds/37