develooper Front page | perl.perl6.internals | Postings from January 2008

My valgrinder

From:
Andy Lester
Date:
January 22, 2008 08:17
Subject:
My valgrinder
uniqua:~ $ cat ~/bin/vgr
#!/bin/sh

make perl6

valgrind \
     --suppressions=/home/andy/parrot/tools/dev/parrot.supp \
     --num-callers=500 \
     --leak-check=full \
     --leak-resolution=high \
     --show-reachable=yes \
     ./parrot --leak-test languages/perl6/perl6.pbc -e 'say "Hello,  
world!"' 2>&1 |
     perl -p -e's/^==\d+==//'

Dropping the leading process number leaves pure stack trace goodness,  
suitable for diffing between runs.

--
Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance







Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About