Skip to content
Snippets Groups Projects
Commit 464f579f authored by Andreas Schenk's avatar Andreas Schenk
Browse files

added valgrind massif profiling option to ost_config

parent 90d939f1
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,14 @@ if [ -n "$DNG_ATTACH_VALGRIND" ]; then
pyexec="`which valgrind`#--leak-check=full#$pyexec"
fi
if [ -n "$DNG_ATTACH_VALGRIND_MASSIF" ]; then
if [ ! -x `which valgrind` ]; then
echo "Error: valgrind not found!"
exit
fi
pyexec="`which valgrind`#--tool=massif#$pyexec"
fi
if [ -n "$DNG_PROFILE" ]; then
if [[ "$DNG_PROFILE" == "yep" ]]; then
echo "Profiling activated using yep"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment