Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!radar!cadillac!vaughan From: vaughan@puma.cad.mcc.com (Paul Vaughan) Newsgroups: comp.lang.c++ Subject: gprof Message-ID: Date: 6 Jun 91 15:48:54 GMT Sender: news@cadillac.CAD.MCC.COM Organization: MCC CAD Program, Austin, Texas Lines: 20 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? ----------------------------------------------------------------------------------