Closed GoogleCodeExporter closed 9 years ago
Correction:
env CPUPROFILE=/tmp/mybin.prof /path/to/mybin
pprof --text /path/to/mybin /tmp/mybin.prof
Original comment by oleg.ale...@gmail.com
on 10 Jan 2012 at 6:37
Hmm, I'm not sure I agree the old wording was confusing, but it's easy enough
to change. I've changed it to use /bin/ls as the example binary everywhere in
the cpu-profile doc.
The other docs, for heap-profile and leak-checker, did not seem to have the
same issue, so I've left them unchanged.
This will all be in the next release.
Original comment by csilv...@gmail.com
on 13 Jan 2012 at 6:59
Thank you. I do not see any updates in
http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
Consistency is great.
However, using /bin/ls as an example may be unfortunate, since of
course it is not linked with -lprof so if the user tries to literally
profile /bin/ls it won't work.
I like more the use of "path/to/mybin mybin.conf" as opposed to
"/bin/ls ls.conf", but what's more important is of course consistency.
Original comment by oleg.ale...@gmail.com
on 13 Jan 2012 at 10:06
Yes, sorry, I haven't pushed the changes to svn yet. Will do so when I get a
chance, though it may be a few days (or weeks...)
Original comment by csilv...@gmail.com
on 13 Jan 2012 at 10:33
This should be improved in perftools 1.10, just released.
Original comment by csilv...@gmail.com
on 31 Jan 2012 at 7:18
The documentation at
http://google-perftools.googlecode.com/svn/trunk/doc/cpuprofile.html
did not change.
Original comment by oleg.ale...@gmail.com
on 1 Feb 2012 at 4:29
Sorry, such urls are obsolete (I don't know how to get google code to redirect
them). Everything now lives at gperftools.googlecode.com, and the changes are
reflected at
http://gperftools.googlecode.com/svn/trunk/doc/cpuprofile.html
Original comment by csilv...@gmail.com
on 1 Feb 2012 at 6:33
Thanks, it is much better.
It is still a bit funny that one would ever link the system /bin/ls
with gperf, but at least things are now consistent.
On Tue, Jan 31, 2012 at 8:28 PM, Oleg Alexandrov
<oleg.alexandrov@gmail.com> wrote:
Original comment by oleg.ale...@gmail.com
on 2 Feb 2012 at 12:36
Original issue reported on code.google.com by
oleg.ale...@gmail.com
on 10 Jan 2012 at 6:36