mirror of
https://github.com/gunchev/home_bin.git
synced 2025-11-20 12:15:46 +00:00
Added valgrind helper scripts.
This commit is contained in:
parent
a84ef39ed8
commit
446115daef
3 changed files with 16 additions and 0 deletions
4
devel/CALLGRIND
Executable file
4
devel/CALLGRIND
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
G_SLICE=always-malloc G_DEBUG=gc-friendly \
|
||||||
|
valgrind --tool=callgrind --trace-children=no --num-callers=32 --track-fds=yes --error-exitcode=1 --dump-instr=yes --collect-jumps=yes --simulate-cache=yes --simulate-hwpref=yes "$@"
|
||||||
5
devel/HELLGRIND
Executable file
5
devel/HELLGRIND
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# G_SLICE=always-malloc G_DEBUG=gc-friendly \
|
||||||
|
|
||||||
|
valgrind --tool=helgrind --track-lockorders=yes --history-level=full --conflict-cache-size=1000000 "$@"
|
||||||
7
devel/VALGRIND
Executable file
7
devel/VALGRIND
Executable file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# track-origins=yes is veeeery slow
|
||||||
|
|
||||||
|
G_SLICE=always-malloc G_DEBUG=gc-friendly \
|
||||||
|
/usr/bin/valgrind --tool=memcheck --trace-children=no --leak-check=full --leak-resolution=high --num-callers=32 --max-stackframe=20982960 \
|
||||||
|
--track-fds=yes --track-origins=no --db-command="cgdb -nw %f %p" --error-exitcode=1 --show-reachable=no --db-attach=yes "$@"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue