5 export G_SLICE=always-malloc
6 export G_DEBUG=gc-friendly
8 DUMP_FILE=psensor_`date +"%Y_%m_%d_%H_%M_%S"`.log
12 SUPP="$SUPP --suppressions=$i "
15 echo starts psensor with options: $*
17 valgrind -v $SUPP --tool=memcheck --leak-check=full --track-origins=yes --leak-resolution=high --num-callers=20 --log-file=$DUMP_FILE $SDIR/../src/psensor $*