From 9602471a9b5fae7dba47673fec98a3af6ed55270 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sat, 12 Aug 2023 02:07:49 +0200 Subject: [PATCH] adapted valgrind calling script to analyze aqhome-storage. --- vg_calls.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vg_calls.sh b/vg_calls.sh index e92a7de..65ae566 100755 --- a/vg_calls.sh +++ b/vg_calls.sh @@ -3,6 +3,15 @@ export AQHOME_LOGLEVEL=info export LD_LIBRARY_PATH="0-build/aqhome/:$LD_LIBRARY_PATH" +# 0-build/apps/aqhomed/aqhomed -l aqhome.log -db aqhome.db -ma 192.168.117.192 -mp 1883 -t 127.0.0.1 -valgrind --tool=callgrind --trace-children=yes --dump-instr=yes --collect-jumps=yes 0-build/apps/aqhomed/aqhomed -l aqhome.log -db aqhome.db -ma 192.168.117.192 -mp 1883 -t 127.0.0.1 +valgrind --tool=callgrind --trace-children=yes --dump-instr=yes --collect-jumps=yes \ + 0-build/apps/aqhome-storage/aqhome-storage \ + --sourcefolder=apps/aqhome-storage/test/html \ + -D apps/aqhome-storage/test/config \ + --statefile=apps/aqhome-storage/test/config/state \ + -ma 192.168.117.192 -mp 1883 --mqttclientid=AQHOMESTORAGEVG \ + -ha 127.0.0.1 -hp 1884 \ + -p ./aqhome-storage.pid \ + -T 90