diff -r a5deb6b96675 -r 63cf70d3ecd8 mtpfws/mtpfw/dataproviders/proxydp/src/cmtpproxydpconfigmgr.cpp --- a/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpproxydpconfigmgr.cpp Thu Sep 02 21:21:26 2010 +0300 +++ b/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpproxydpconfigmgr.cpp Fri Sep 17 08:34:51 2010 +0300 @@ -21,7 +21,11 @@ #include #include #include -__FLOG_STMT(_LIT8(KComponent1,"ProxyDPConfigmanager");) +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "cmtpproxydpconfigmgrTraces.h" +#endif + CMTPProxyDpConfigMgr* CMTPProxyDpConfigMgr::NewL(MMTPDataProviderFramework& aFramework) { @@ -39,7 +43,7 @@ void CMTPProxyDpConfigMgr::ConstructL() { - __FLOG_OPEN(KMTPSubsystem, KComponent1); + OstTraceFunctionEntry0( CMTPPROXYDPCONFIGMGR_CONSTRUCTL_ENTRY ); TUint32 resourceId = iFramework.DataProviderConfig().UintValue(MMTPDataProviderConfig::EOpaqueResource); // Reading from resource file mtpproxydp_config.rss RResourceFile resourceFile; @@ -59,10 +63,12 @@ CleanupStack::PopAndDestroy(2, &resourceFile); + OstTraceFunctionExit0( CMTPPROXYDPCONFIGMGR_CONSTRUCTL_EXIT ); } CMTPProxyDpConfigMgr::~CMTPProxyDpConfigMgr() { + OstTraceFunctionEntry0( CMTPPROXYDPCONFIGMGR_CMTPPROXYDPCONFIGMGR_DES_ENTRY ); TInt count = iMappingStruct.Count(); for(TInt i=0 ; iFind(aFileName,aIndex); if(err == KErrNone) { aIndex=i; - __FLOG_1( _L8("aIndex = %d"), aIndex ); - __FLOG(_L8("GetFileName - Exit")); + OstTrace1( TRACE_NORMAL, DUP2_CMTPPROXYDPCONFIGMGR_GETFILENAME, "aIndex = %d", aIndex ); + OstTraceFunctionExit0( CMTPPROXYDPCONFIGMGR_GETFILENAME_EXIT ); return ETrue; } } - __FLOG(_L8("GetFileName - Exit")); + OstTraceFunctionExit0( DUP1_CMTPPROXYDPCONFIGMGR_GETFILENAME_EXIT ); return EFalse; }