forked from Imagelibrary/rtems
sapi: Add profiling report begin/end message
This commit is contained in:
@@ -30,7 +30,12 @@ void rtems_test_fatal_extension(
|
|||||||
(void) code;
|
(void) code;
|
||||||
|
|
||||||
#if defined(RTEMS_PROFILING)
|
#if defined(RTEMS_PROFILING)
|
||||||
if (rtems_get_current_processor() == 0) {
|
if ( rtems_get_current_processor() == 0 ) {
|
||||||
|
printk(
|
||||||
|
"\n*** PROFILING REPORT BEGIN %s ***\n",
|
||||||
|
rtems_test_name
|
||||||
|
);
|
||||||
|
|
||||||
rtems_profiling_report_xml(
|
rtems_profiling_report_xml(
|
||||||
rtems_test_name,
|
rtems_test_name,
|
||||||
printk_plugin,
|
printk_plugin,
|
||||||
@@ -39,9 +44,8 @@ void rtems_test_fatal_extension(
|
|||||||
" "
|
" "
|
||||||
);
|
);
|
||||||
|
|
||||||
/* Add some stuff to help broken debuggers */
|
|
||||||
printk(
|
printk(
|
||||||
"*** PROFILING DONE %s ***\n",
|
"*** PROFILING REPORT END %s ***\n",
|
||||||
rtems_test_name
|
rtems_test_name
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user