From: John P. Linderman Date: Wed, 26 Aug 2009 07:14:13 +0000 (+0200) Subject: Improve perlhack instructions about gprof X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=289d61c2fe0a9a435b7e5828a3fbe9df5967f4d9;p=p5sagit%2Fp5-mst-13.2.git Improve perlhack instructions about gprof --- diff --git a/pod/perlhack.pod b/pod/perlhack.pod index 4c83a12..2e5c308 100644 --- a/pod/perlhack.pod +++ b/pod/perlhack.pod @@ -3048,9 +3048,9 @@ formats, see your own local documentation of gprof. quick hint: - $ sh Configure -des -Dusedevel -Doptimize='-g' -Accflags='-pg' -Aldflags='-pg' && make - $ ./perl someprog # creates gmon.out in current directory - $ gprof perl > out + $ sh Configure -des -Dusedevel -Doptimize='-pg' && make perl.gprof + $ ./perl.gprof someprog # creates gmon.out in current directory + $ gprof ./perl.gprof > out $ view out =head2 GCC gcov Profiling