[RFC] Cross-gprof cleanup in gmon_io

Jason R Thorpe thorpej@wasabisystems.com
Fri Apr 12 15:00:00 GMT 2002


On Fri, Apr 12, 2002 at 02:54:10PM -0700, Ethan Solomita wrote:

 > 	I've been focusing on kernel profiling, when I should also be thinking
 > about user profiling. With these changes, will gprof be able to profile
 > the output of 32-bit sparc apps? With NetBSD/sparc64, are you running
 > all user apps at 64-bit? If you lose all userland profiling, this seems
 > like a serious compatibility issue.

For 32-bit apps, the kernel should write out a gmon structure compatible
with the 32-bit ABI.  For 64-bit apps, the kernel should write out a gmon
structure compatible with the 64-bit ABI.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>



More information about the Binutils mailing list