This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do you profile an executable that loads shared libraries?


Hi Scott,

I have an executable that loads shared libraries. I compiled with "-g
-pg" and then I ran gprof on the gmon.out file. I don't see any of the
shared libraries that the program loaded in my gprof output. How do
you profile shared libraries?

It seems that this is no longer possible. :-( Perhaps you could try another profiling tool (eg oprofile) or else using static libraries.


Cheers
  Nick


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