This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Profil system call - Adding profiling support GCC 4.1.1
- From: "Mohamed Shafi" <shafitvm at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 14 May 2007 15:27:47 +0530
- Subject: Profil system call - Adding profiling support GCC 4.1.1
Hi All,
I am adding profiling support for a private embedded target (GCC
4.1.1). I have implemented the profiling library, which includes
mcount, mcleanup, monstartup, moncontrol. For Histogram records, i
need to have the "profil" system call. But my target library does not
contain "profil" system call.
1. What should i do to implement this?
2. How do other targets implement "profil" system call?
3. If profil system call is not present, how to collect the histogram records?
Thanks for you time.
Regards,
Shafi