added/fixed some helper scripts

- aqhome-tool.sh: calls aqhome-tool inside 0-build/
- aqhomed.sh: calls aqhomed inside 0-build/
- vg_calls.sh: calls aqhomed inside valgrind to collect the call tree
- vg_run.sh: calls aqhomed inside valgrind to collect memory leaks
This commit is contained in:
Martin Preuss
2023-04-26 02:08:30 +02:00
parent 5ba0bdff55
commit 104a4e1a2f
4 changed files with 21 additions and 1 deletions

8
vg_calls.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
export AQHOME_LOGLEVEL=info
export LD_LIBRARY_PATH="0-build/aqhome/:$LD_LIBRARY_PATH"
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