gmon.out creation procedure

raja.saleru@iap-online.com raja.saleru@iap-online.com
Mon May 19 12:04:00 GMT 2008


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?$(D"B"B(BWhich are the functions are responsible for this ?

3. Suppose assume that executable is built without $B!/(BCpg option, but want
to create gmon.out at run-time. Is there any way or guidelines to
implement?

Thanks and Regards
Raja Saleru



More information about the Gcc mailing list