diff -r a179b74831c9 -r c1f20ce4abcf userlibandfileserver/fileserver/sfile/sf_main.cpp --- a/userlibandfileserver/fileserver/sfile/sf_main.cpp Thu Aug 19 11:14:22 2010 +0300 +++ b/userlibandfileserver/fileserver/sfile/sf_main.cpp Tue Aug 31 16:34:26 2010 +0300 @@ -26,9 +26,6 @@ #endif #include "d32btrace.h" -// define this macro to enable tracing very early on in the boot sequence -//#define __ENABLE_TRACE__ - #ifdef __EPOC32__ _LIT(KStartupExeSysBinName,"Z:\\Sys\\Bin\\ESTART.EXE"); #else @@ -286,35 +283,6 @@ User::SetCritical(User::ESystemCritical); TInt r; -#ifdef SYMBIAN_FTRACE_ENABLE - r = User::LoadLogicalDevice(_L("D_FTRACE")); - __PRINT1(_L("User::LoadLogicalDevice(D_FTRACE) returns %d"),r); - __ASSERT_ALWAYS(r==KErrNone || r==KErrAlreadyExists,Fault(ETraceLddLoadFailure)); - - r = TheFtrace.Open(EOwnerProcess); - __ASSERT_ALWAYS(r==KErrNone || r==KErrAlreadyExists,Fault(ETraceLddLoadFailure)); -#endif - -#if defined (__ENABLE_TRACE__) - { - RBTrace trace; - - trace.Open(); - -// trace.SetMode(RBTrace::EEnable + RBTrace::EFreeRunning); - trace.SetFilter(BTrace::EThreadIdentification,1); - - trace.SetFilter(UTF::EBorder,1); - trace.SetFilter(UTF::EError,1); - - trace.SetFilter2(EF32TraceUidEfsrv,1); -// trace.SetFilter2(EF32TraceUidFileSys,1); -// trace.SetFilter2(EF32TraceUidProxyDrive,1); - - trace.Close(); - } - -#endif // // Load the file system's device driver