From 5dd618ba406cef6d32ee3b16113fe482314e3220 Mon Sep 17 00:00:00 2001 From: jesperpedersen Date: Mon, 8 Apr 2024 08:27:16 -0400 Subject: [PATCH] Update information --- contrib/valgrind/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/contrib/valgrind/README.md b/contrib/valgrind/README.md index 592f4912..8ad70876 100644 --- a/contrib/valgrind/README.md +++ b/contrib/valgrind/README.md @@ -8,9 +8,15 @@ The [Valgrind](https://valgrind.org/) tool suite provides a number of debugging valgrind --leak-check=full --show-leak-kinds=all --log-file=%p.log --trace-children=yes --track-origins=yes --read-var-info=yes ./pgagroal -c pgagroal.conf -a pgagroal_hba.conf ``` -# Generate valgrind report with suppressed rules +# Use suppressions rules ``` bash valgrind --suppressions=../../contrib/valgrind/pgagroal.supp --leak-check=full --show-leak-kinds=all --log-file=%p.log --trace-children=yes --track-origins=yes --read-var-info=yes ./pgagroal -c pgagroal.conf -a pgagroal_hba.conf ``` +# Generate suppressions rules + +``` bash +valgrind --gen-suppressions=all --leak-check=full --show-leak-kinds=all --log-file=%p.log --trace-children=yes --track-origins=yes --read-var-info=yes ./pgagroal -c pgagroal.conf -a pgagroal_hba.conf +``` +