Profil system call - Adding profiling support GCC 4.1.1

Mohamed Shafi shafitvm@gmail.com
Mon May 14 11:33:00 GMT 2007


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



More information about the Gcc mailing list