sl@0
|
1 |
/*
|
sl@0
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
* All rights reserved.
|
sl@0
|
4 |
* This component and the accompanying materials are made available
|
sl@0
|
5 |
* under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
* which accompanies this distribution, and is available
|
sl@0
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
*
|
sl@0
|
9 |
* Initial Contributors:
|
sl@0
|
10 |
* Nokia Corporation - initial contribution.
|
sl@0
|
11 |
*
|
sl@0
|
12 |
* Contributors:
|
sl@0
|
13 |
*
|
sl@0
|
14 |
* Description:
|
sl@0
|
15 |
*
|
sl@0
|
16 |
* WARNING: This file contains some APIs which are internal and are subject
|
sl@0
|
17 |
* to change without notice. Such APIs should therefore not be used
|
sl@0
|
18 |
* outside the Kernel and Hardware Services package.
|
sl@0
|
19 |
*/
|
sl@0
|
20 |
// F32TRACEDEF.H
|
sl@0
|
21 |
//
|
sl@0
|
22 |
|
sl@0
|
23 |
#if !defined(__F32TRACEDEF_H__)
|
sl@0
|
24 |
#define __F32TRACEDEF_H__
|
sl@0
|
25 |
|
sl@0
|
26 |
//*********************************
|
sl@0
|
27 |
// from e32utrace_basic_types.h
|
sl@0
|
28 |
//*********************************
|
sl@0
|
29 |
typedef TUint8 TClassification; // same as BTrace::TCategory
|
sl@0
|
30 |
typedef TUint32 TModuleUid;
|
sl@0
|
31 |
typedef TUint16 TFormatId; // 2 bytes occupying first 32-bit word of data
|
sl@0
|
32 |
|
sl@0
|
33 |
namespace UTF
|
sl@0
|
34 |
{
|
sl@0
|
35 |
const static TFormatId KInitialClientFormat = 512;
|
sl@0
|
36 |
const static TFormatId KMaxFormatId = KMaxTUint16; // 0xFFFF
|
sl@0
|
37 |
|
sl@0
|
38 |
enum TClassificationAll
|
sl@0
|
39 |
{
|
sl@0
|
40 |
EPanic = 192,
|
sl@0
|
41 |
EError = 193,
|
sl@0
|
42 |
EWarning = 194,
|
sl@0
|
43 |
EBorder = 195,
|
sl@0
|
44 |
EState = 196,
|
sl@0
|
45 |
EInternals = 197,
|
sl@0
|
46 |
EDump = 198,
|
sl@0
|
47 |
EFlow = 199,
|
sl@0
|
48 |
ESystemCharacteristicMetrics = 200,
|
sl@0
|
49 |
EAdhoc = 201,
|
sl@0
|
50 |
EClassificationAllHighWaterMark,
|
sl@0
|
51 |
};
|
sl@0
|
52 |
} // namespace UTF
|
sl@0
|
53 |
|
sl@0
|
54 |
|
sl@0
|
55 |
enum TF32TraceFormatUids
|
sl@0
|
56 |
{
|
sl@0
|
57 |
EF32TraceUidEfsrv = 0x100039e4, // 268450276
|
sl@0
|
58 |
EF32TraceUidFirst = 0x10286575, // 271082869
|
sl@0
|
59 |
EF32TraceUidLast = 0x10286594, // 271082900
|
sl@0
|
60 |
|
sl@0
|
61 |
EF32TraceUidFileSys = 0x10286575, // 271082869
|
sl@0
|
62 |
EF32TraceUidProxyDrive = 0x10286576, // 271082870
|
sl@0
|
63 |
|
sl@0
|
64 |
// Provided to allow the following compile time assert.
|
sl@0
|
65 |
ETraceUidHighWaterMark,
|
sl@0
|
66 |
};
|
sl@0
|
67 |
__ASSERT_COMPILE(ETraceUidHighWaterMark <= (EF32TraceUidLast + 1));
|
sl@0
|
68 |
|
sl@0
|
69 |
|
sl@0
|
70 |
#endif
|
sl@0
|
71 |
|