6 msgProblems with compiling svn trunk
1 msgsome errors while compiling gcc-4.2.1 on windows
8 msgtrimming excess errors from -Werror
1 msgDoubt regarding dwarf info generated for var_ar...
2 msg4.2.0 build/test results
1 msgGCC 4.2 branch open for regression fixes
9 msgGCC's trunk, it is necessary to improve the tim...
2 msgis gcc 4.2.0 released?
2 msgCode Samples
2 msgStepping down as CLI back-end maintainer

dumping profiling info in gmon.out file format
\ Mohamed Shafi (15 May 2007)
. \ Ian Lance Taylor (16 May 2007)

2 msgc-common.c line 5179: isn't this a nop?
1 msgMainline doesn't bootstrap on i386-linux
2 msgRegressions on latest trunk
3 msgABOUT_NLS
1 msggcc-4.1-20070514 is now available
1 msgredundancy in gimplify_compound_lval?
30 msgA reload inheritance bug
2 msgFYI: gcc/print-rtl.c (print_rtx) does not build...
7 msgmainline fails to build?
Subject:Re: dumping profiling info in gmon.out file format
Group:Gcc
From:Ian Lance Taylor
Date:16 May 2007


"Mohamed Shafi" <shafitvm> writes:

> gmon.out file is created in mcleanup function.This function however
> doesn't dump the data in the grof gmon.out data format. When i looked
> into the code for i386 and sparc in the backend nothing has been done
> to store the profiling info the required format. How is it that the
> file thus created is recognized by gprof? Or am i missing something?

Assuming you are referring to gcc/config/{i386,sparc}/gmon-sol2.c,
that code is only used on Solaris, not on other operating systems.
Are you using Solaris?

On GNU/Linux gmon.out is generated by code in glibc, not gcc. The
glibc code is in gmon/gmon.c in the glibc sources.

Ian


© 2004-2008 readlist.com