summaryrefslogtreecommitdiff
path: root/pod/perlhack.pod
diff options
context:
space:
mode:
authorJohn P. Linderman <jpl@research.att.com>2009-08-26 09:14:13 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2009-08-26 09:14:13 +0200
commit289d61c2fe0a9a435b7e5828a3fbe9df5967f4d9 (patch)
tree84f4df516459348613c61f364531293721fc2980 /pod/perlhack.pod
parenta0f20b650099024032f274cd75500979583e0eb7 (diff)
downloadperl-289d61c2fe0a9a435b7e5828a3fbe9df5967f4d9.tar.gz
Improve perlhack instructions about gprof
Diffstat (limited to 'pod/perlhack.pod')
-rw-r--r--pod/perlhack.pod6
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlhack.pod b/pod/perlhack.pod
index 4c83a12658..2e5c30841c 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