Sorry, forgot to mention the function entry/exit profiler:

__attribute__((__no_instrument_function__)) void __cyg_profile_func_enter(void* this_fn, void* call_site)
{

  rtems_record_produce_2(RTEMS_RECORD_CALLER,
                         (rtems_record_data)call_site, RTEMS_RECORD_FUNCTION_ENTRY,
                         (rtems_record_data)this_fn);

}



__attribute__((__no_instrument_function__)) void __cyg_profile_func_exit(void* this_fn, void* call_site)
{

  rtems_record_produce(RTEMS_RECORD_FUNCTION_EXIT, (rtems_record_data)this_fn);

}

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to