Revert "[4.0] Add an environment variable to set the default indicator visible mode"
[platform/core/uifw/dali-adaptor.git] / adaptors / common / kernel-trace.cpp
index d73f7dc..00fc48e 100644 (file)
 // CLASS HEADER
 #include "kernel-trace.h"
 
-// INTERNAL HEADERS
-#include <dali/integration-api/debug.h>
-
 // EXTERNAL HEADERS
 #include <fcntl.h>
 #include <stdio.h>
 #include <unistd.h>
 
+// INTERNAL HEADERS
+#include <dali/integration-api/debug.h>
+
 namespace Dali
 {
 
@@ -68,7 +68,7 @@ KernelTrace::~KernelTrace()
 // If the message did not get added to the trace, then check you have write permissions to the trace_marker file.
 //
 //
-void KernelTrace::Trace( const std::string& traceMessage )
+void KernelTrace::Trace( const PerformanceMarker& marker, const std::string& traceMessage )
 {
   // Open the trace_marker file
   if( mFileDescriptor == 0 )
@@ -84,7 +84,7 @@ void KernelTrace::Trace( const std::string& traceMessage )
       if( !mLoggedError )
       {
         mLoggedError = true;
-        DALI_LOG_ERROR("Failed to open /sys/kernel/debug/tracing/trace_marker for writing please check file permissions.");
+        DALI_LOG_ERROR("Failed to open /sys/kernel/debug/tracing/trace_marker for writing please check file permissions.\n");
       }
 
     }