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" syste
Jim Wilson wrote:
Rohit Arul Raj wrote:
1. The function mcount: While building with native gcc, the mcount
function is defined in glibc. Is the same mcount function available in
newlib? or is it that we have to define it in our back-end as SPARC
does (gmon-sol2.c).
Did you try looking at newli
Rohit Arul Raj wrote:
1. The function mcount: While building with native gcc, the mcount
function is defined in glibc. Is the same mcount function available in
newlib? or is it that we have to define it in our back-end as SPARC
does (gmon-sol2.c).
Did you try looking at newlib? Try something l
Hi all,
I need to implement profiling support for my backend (GCC 4.1.1).
There is only limited information in GCC Internals to define the
following macros (FUNCTION_PROFILER, PROFILE_HOOK ,NO_PROFILE_COUNTERS
& PROFILE_BEFORE_PROLOGUE) to add profiling support. I need to know
the following detai