]> git.ipfire.org Git - thirdparty/suricata.git/commit
profiling: add 'ruleset-profile' unix command
authorEric Leblond <el@stamus-networks.com>
Fri, 11 Nov 2022 13:40:27 +0000 (14:40 +0100)
committerVictor Julien <vjulien@oisf.net>
Fri, 12 May 2023 17:52:15 +0000 (19:52 +0200)
commit75b46edd79d46b2862690abcd46a3414ff1de961
tree3ac4d6f020a5b787198b50d365c22a80ef781fbd
parent020cfbcd6145bf4ac4d2ac37c4730e5449eec04c
profiling: add 'ruleset-profile' unix command

This patch adds a new unix command that allows the user to trigger
a dump of the ruleset profile to the file without having to stop
Suricata.

This will be really useful to debug performance issue related to
signatures in production environment.
src/counters.c
src/flow-worker.c
src/threadvars.h
src/unix-manager.c
src/util-profiling-rules.c