1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/kernelhwsrv/kernel/eka/include/e32utrace.mmh Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,43 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of the License "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Development Tools\UTF\e32utrace.mmh
1.18 +// Executables will need to define the SYMBIAN_INCLUDE_EXECUTABLE_TRACE macro flag in their
1.19 +// mmp files in order for trace to be included. If this macro is not defined the stubbed trace dlls
1.20 +// will be used instead.
1.21 +// If SYMBIAN_INCLUDE_EXECUTABLE_TRACE is defined trace will be compiled into
1.22 +// components by default but runtime switched off.
1.23 +// @publishedPartner
1.24 +// @prototype
1.25 +//
1.26 +
1.27 +
1.28 +// We want to use an enabled version of the API.
1.29 +#if defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
1.30 + MACRO SYMBIAN_TRACE_EXECUTABLE_IS_INCLUDED
1.31 + #ifdef NKERN_DIR
1.32 + //LIBRARY utracekernel.lib //not implemented
1.33 + #else //NKERN_DIR
1.34 + LIBRARY utraceuser.lib
1.35 + #endif //NKERN_DIR
1.36 +#endif
1.37 +
1.38 +// We want to use a stubbed (disabled) version of the API.
1.39 +#if !defined(SYMBIAN_INCLUDE_EXECUTABLE_TRACE)
1.40 + #ifdef NKERN_DIR
1.41 + //LIBRARY utracekernelstubbed.lib //not implemented
1.42 + #else //NKERN_DIR
1.43 + LIBRARY utraceuserstubbed.lib
1.44 + #endif //NKERN_DIR
1.45 +#endif
1.46 +