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


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

Re: gprof and LinuxThreads


Zack Weinberg <zack@rabi.columbia.edu> writes:

> A first step to solving this problem would be: if gmon.out already exists,
> add the figures for the current run to that file instead of overwriting it. 
> (Like doing gprof -s in between runs).  Then you could run the program many
> times and get overall statistics.

Well, this is what I do in LD_PROFILE.  It's another change which
certainly is useful.  It will require major changes and then we should
not stop there.  I want to a have a profiling mechanism which also
works in PIC code, with shared objects etc.

-- 
---------------.      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]