[comp.lang.c++] gprof

vaughan@puma.cad.mcc.com (Paul Vaughan) (06/06/91)

I've been using gprof on g++ generated code rather successfully,
except for one area. I need to be able to profile dynamically loaded
code. gprof fails when dynamically loaded code is profiled because it
tries to look up dynamically loaded symbols in the executable and they
aren't there (this isn't the SUN dynamic loader). The precise symptom
reported is "binary search fails???"  Does anyone know of a version of
gprof that supports dynamically loaded code? Something like a

[-D object-module address]

option would be nice. Is there a GNU gprof equivalent?
--

 Paul Vaughan, MCC CAD Program | ARPA: vaughan@mcc.com | Phone: [512] 338-3639
 Box 200195, Austin, TX 78720  | UUCP: ...!cs.utexas.edu!milano!cadillac!vaughan
----------------------------------------------------------------------------------
I spent from $3 to $10 today to pay interest on the national debt.  How about you?
----------------------------------------------------------------------------------