RTEMS_FATAL_SOURCE_EXCEPTION on booting PRU for beagleboneblack

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Feb 11 18:59:44 UTC 2020


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);

}



More information about the devel mailing list