From fe826e23d44843aaeb2fca71095203b46938c6e9 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 2 Sep 2014 14:10:19 +0200 Subject: sapi: Add profiling report begin/end message --- cpukit/sapi/src/testextension.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'cpukit/sapi') diff --git a/cpukit/sapi/src/testextension.c b/cpukit/sapi/src/testextension.c index 0a1cd874ff..5221aaf7d6 100644 --- a/cpukit/sapi/src/testextension.c +++ b/cpukit/sapi/src/testextension.c @@ -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 ); } -- cgit v1.2.3