From: Jim Cromie Date: Mon, 3 Sep 2007 20:02:05 +0000 (-0600) Subject: Re: [patch] perlhack.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=038c294adf193153c2760ff49fadaf6fffc4ea93;p=p5sagit%2Fp5-mst-13.2.git Re: [patch] perlhack.pod Message-ID: <46DCBC9D.3070409@gmail.com> p4raw-id: //depot/perl@31790 --- diff --git a/pod/perlhack.pod b/pod/perlhack.pod index 868c407..a078b3c 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -3091,8 +3091,7 @@ logged in files named F. Valgrind also provides a cachegrind tool, invoked on perl as: - VG_OPTS=' --log-fd=3 --suppressions=perl.supp --tool=cachegrind' \ - make test.valgrind + VG_OPTS=--tool=cachegrind make test.valgrind As system libraries (most notably glibc) are also triggering errors, valgrind allows to suppress such errors using suppression files. The @@ -3253,7 +3252,7 @@ Display routines that have zero usage. For more detailed explanation of the available commands and output formats, see your own local documentation of gprof. -quick-hint: +quick hint: $ sh Configure -des -Dusedevel -Doptimize='-g' -Accflags='-pg' -Aldflags='-pg' && make $ ./perl someprog # creates gmon.out in current directory