Closed GoogleCodeExporter closed 9 years ago
My understanding is that on newer kernels, we will profile every thread.
However,
all that data will be put into one output file. So having one prof.out file is
actually correct. I'm sorry if the documentation was confusing on that point.
(There *are* multiple output files if you fork.)
As for the empty prof.out file, how are you terminating the program? Is it via
kill?
If you don't do a normal shutdown, the profile will probably be incorrect. If you
have a way to cleanly shut down your daemon, that may be the easiest way to see
if
things are working correctly. Otherwise, you may try calling DumpProfile()
explicitly in your code somewhere, to see if you can get a valid profile that
way.
But note that incomplete data like this is expected if you use
--enable-frame-pointers, but do not also compile the libraries you use with
frame
pointers. This is because the profiler can't see into any code inside those
libraries. I see you use libs in /opt/memcached/lib and /usr/local/lib. My
guess is
these are not compiled with frame pointers, and are responsible for the
incomplete
profiles you see.
Original comment by csilv...@gmail.com
on 8 Jun 2009 at 7:57
Original comment by csilv...@gmail.com
on 10 Jun 2009 at 2:07
Any more news on this? Without more data, I'm going to have to close this
CannotReproduce.
Original comment by csilv...@gmail.com
on 10 Mar 2010 at 6:09
OK, closing. Feel free to reopen if you get more data.
Original comment by csilv...@gmail.com
on 17 Mar 2010 at 11:28
Original issue reported on code.google.com by
mingfan...@gmail.com
on 8 Jun 2009 at 1:20