Article View: gnu.gcc.help
Article #53524Profiling trick
From: Wayne A. Christopher
Date: Tue, 12 Nov 1991 04:10
Date: Tue, 12 Nov 1991 04:10
8 lines
1025 bytes
1025 bytes
I used to know of a way to make gprof give finer-grained information than function counts -- putting asm's with labels and/or .globl declarations inside a function would fool gprof into thinking that it was more than one function body. It used to work with the old gprof, and I wonder if anybody knows how to do this and whether it works with GNU gprof also. Thanks, Wayne
Technical Details
Message-ID:
<khul1uINNsf@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!elroy.jpl.nasa.gov!ames!agate!ygdrasil.CS.Berkeley.EDU!faustusShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,3a7c1c77091dc894,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1991-11-12 02:26:04 PST Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!elroy.jpl.nasa.gov!ames!agate!ygdrasil.CS.Berkeley.EDU!faustus From: faustus@ygdrasil.CS.Berkeley.EDU (Wayne A. Christopher) Newsgroups: gnu.gcc.help Subject: Profiling trick Message-ID: <khul1uINNsf@agate.berkeley.edu> Date: 12 Nov 91 04:10:38 GMT Distribution: gnu Organization: University of California at Berkeley Lines: 8 NNTP-Posting-Host: ygdrasil.cs.berkeley.edu Originator: faustus@ygdrasil.CS.Berkeley.EDU