This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A glibc bug?


hjl@lucon.org (H.J. Lu) writes:

> That is a glibc bug. -pg used to work for glibc 2.0. Now you have to
> use -lc_p instead of -lc to get profile. Not everyone wants to profile
> libc. It should be fixed. I will look into it when I find time.

What you see is no bug.  It's simply the inability of gprof to handle
programs which get no hit.  I.e., the callgraph actually is empty.  If
you want to fix something fix gprof.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]