call graphs in sprof

Pierre Habouzit madcoder@debian.org
Tue Jul 3 15:29:00 GMT 2007


On Tue, Jul 03, 2007 at 11:30:57AM +0530, Arvind Ayyangar wrote:
> Thanks. i installed libc6-dbg and the call graph does give me more
> information. But I still find symbols name <UNKNOWN> in the call
> graphs.

  please read mails fully.

> >  It means that your libc is built without debug symbols, so that the
> >profiler cannot know what's going on in your libc. Worse, if you're
                                                      ^^^^^^^^^^^^^^^^
> >using a gprof based method, it would also need your libc to be built
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >with profiling enabled, a thing that almost no distributions give.  But
   ^^^^^^^^^^^^^^^^^^^^^^
> >sysprof/oprofile-like tools do not need that rebuild, so use them :)
> >
> >  If you use a debian based distribution, libc6-dbg holds the debug
> >symbols of the libc.
> >--
> >·O·  Pierre Habouzit
> >··O                                                madcoder@debian.org
> >OOO                                                http://www.madism.org
> >
> >
> -
> Arvind

-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070703/1da9a5a5/attachment.sig>


More information about the Libc-alpha mailing list