sapi: Add profiling report begin/end message

This commit is contained in:
Sebastian Huber
2014-09-02 14:10:19 +02:00
parent 8ae6f264af
commit fe826e23d4

View File

@@ -30,7 +30,12 @@ void rtems_test_fatal_extension(
(void) code;
#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_test_name,
printk_plugin,
@@ -39,9 +44,8 @@ void rtems_test_fatal_extension(
" "
);
/* Add some stuff to help broken debuggers */
printk(
"*** PROFILING DONE %s ***\n",
"*** PROFILING REPORT END %s ***\n",
rtems_test_name
);
}