Makefile: added a target to run with heaptrack

It will launch the gui at the end if found
It's much faster than valgrind+massif

Signed-off-by: Hubert Figuière <hub@collabora.com>
Change-Id: Ied5a00ab634f78bbb0dd24a48a83ae4293183cd4
This commit is contained in:
Hubert Figuière 2024-04-04 14:29:18 -04:00 committed by Andras Timar
parent eb7d6eaa83
commit 7a9aa6c6c9

View file

@ -549,6 +549,12 @@ run-massif-inproc: setup-wsd
valgrind --tool=massif --num-callers=64 --trace-children=no -v \
./coolwsd-inproc $(COMMON_PARAMS) \
--o:logging.file[@enable]=false --o:logging.level=trace
run-heaptrack-inproc: setup-wsd
@echo "Launching coolwsd under heaptrack for single process"
heaptrack \
./coolwsd-inproc $(COMMON_PARAMS) \
--o:logging.file[@enable]=false --o:logging.level=trace
endif
sync-writer: