This is the mail archive of the
mailing list for the GCC project.
kavii ita wrote:
I use -finstrument-functions with the __cyg_profile_func_enter and
__cyg_profile_func_exit function to profile my code. With the attribute
"no_instrument_function" you can exclude certain function like irq
handlers from beiing instrumented. Maybe that helps.
I have global counter unit on the hardware. If i use
this in prologue and epilogue of function . I can get
the time spend in the function.