GNU profiling - profil()
raja.saleru@iap-online.com
raja.saleru@iap-online.com
Mon Jun 2 06:01:00 GMT 2008
HI,
I have a question related to profiling.
In glibc, the function definition of profil() is existing in the following
places
glibc-2.4/gmon/profil.c
glibc-2.4/sysdeps/mach/hurd/profil.c
glibc-2.4/sysdeps/posix/profil.c
glibc-2.4/unix/sysv/linux/profil.c
If we compile the source code with gcc -pg option, which profil() function
among the above will be executed in i386 ?
I want to confirm is it from glibc-2.4/sysdeps/posix/profil.c ?
Thanks and Regards
Raja Saleru
More information about the Gcc-bugs
mailing list