This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gmon.out creation procedure
- From: raja dot saleru at iap-online dot com
- To: gcc at gcc dot gnu dot org, iant at google dot com
- Cc: shafitvm at gmail dot com
- Date: Mon, 19 May 2008 08:03:41 -0400 (EDT)
- Subject: gmon.out creation procedure
Hi,
I am Raja, I need a favor on understand how the gmon.out file is created.
Please help me.
1. gmon.c is available in both gcc and glibc. Which is the one used to
create gmon.out ?
2. Can you brief how profile information required to create gmon.out is
captured?¡¡Which are the functions are responsible for this ?
3. Suppose assume that executable is built without ¨Cpg option, but want
to create gmon.out at run-time. Is there any way or guidelines to
implement?
Thanks and Regards
Raja Saleru