mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
run.mk: Move callgrind rules into profiler-rules-run.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5af9df5ef1
commit
2bd0be469a
1 changed files with 0 additions and 17 deletions
17
make/run.mk
17
make/run.mk
|
|
@ -126,23 +126,6 @@ vg-clean-supp:
|
||||||
clean.out:
|
clean.out:
|
||||||
$(RM) -f run.out
|
$(RM) -f run.out
|
||||||
|
|
||||||
callgrind: run-prereq
|
|
||||||
$(RM) -f core.*
|
|
||||||
valgrind --tool=callgrind $(VALGRIND_OPTS) $(EXE_PATH) $(EXE_ARGS)
|
|
||||||
|
|
||||||
callgrind-noinst: run-prereq
|
|
||||||
$(RM) -f core.*
|
|
||||||
valgrind --tool=callgrind $(VALGRIND_OPTS) --instr-atstart=no $(EXE_PATH) $(EXE_ARGS)
|
|
||||||
|
|
||||||
callgrind-startinst:
|
|
||||||
ps aux | grep callgrind | grep -v "grep\|make\|callgrind_control" | awk '{print $$2}' | xargs callgrind_control --instr=on
|
|
||||||
|
|
||||||
callgrind-stopinst:
|
|
||||||
ps aux | grep callgrind | grep -v "grep\|make\|callgrind_control" | awk '{print $$2}' | xargs callgrind_control --instr=off
|
|
||||||
|
|
||||||
callgrind-dump:
|
|
||||||
ps aux | grep callgrind | grep -v "grep\|make\|callgrind_control" | awk '{print $$2}' | xargs callgrind_control --dump
|
|
||||||
|
|
||||||
snap:
|
snap:
|
||||||
killall -SIGUSR1 $(notdir $(EXE_PATH))
|
killall -SIGUSR1 $(notdir $(EXE_PATH))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue