]> git.ipfire.org Git - thirdparty/suricata.git/commit
profiling: add option to active rules profiling at start
authorEric Leblond <el@stamus-networks.com>
Wed, 8 Nov 2023 20:18:33 +0000 (21:18 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 21 Jun 2024 08:21:23 +0000 (10:21 +0200)
commit8baa505c72e22c6991ca0767a6547805e304d428
tree3509a759d9363e8d3a2a100d0680fba4eb5179dc
parent897fc4ccea7dcdf37b48808a3e1ae3a656737867
profiling: add option to active rules profiling at start

When replaying a pcap file, it is not possible to get rules
profiling because it has to be activated from the unix socket.
This patch adds a new option to be able to activate profiling
collection at start so a pcap run can get rules profiling
information.

(cherry picked from commit eecb3440e21c428e86bc60e1bbe5808ef4c27a6c)
src/util-profiling.c
suricata.yaml.in