62
|
1 |
// Created by TraceCompiler 2.1.2
|
|
2 |
// DO NOT EDIT, CHANGES WILL BE LOST
|
|
3 |
|
|
4 |
#ifndef __TRACECOMPILERTESTERCOMMON1TRACES_H__
|
|
5 |
#define __TRACECOMPILERTESTERCOMMON1TRACES_H__
|
|
6 |
|
|
7 |
#define KOstTraceComponentID 0x20011112
|
|
8 |
|
|
9 |
#define DTRACECOMPILERTESTERCOMMON1_SUMVALUES_ENTRY 0x8a0001, aValue1, aValue2, aValue3, aValue4
|
|
10 |
#define DTRACECOMPILERTESTERCOMMON1_SUMVALUES_EXIT 0x8a0002
|
|
11 |
|
|
12 |
|
|
13 |
inline TBool OstTraceGenExt( TUint32 aTraceID, TInt aParam1, TInt aParam2, TUint8 aParam3, TUint8 aParam4, TUint aParam5 )
|
|
14 |
{
|
|
15 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
|
|
16 |
if ( retval )
|
|
17 |
{
|
|
18 |
TUint8 data[ 16 ];
|
|
19 |
TUint8* ptr = data;
|
|
20 |
*( ( TInt* )ptr ) = aParam1;
|
|
21 |
ptr += sizeof ( TInt );
|
|
22 |
*( ( TInt* )ptr ) = aParam2;
|
|
23 |
ptr += sizeof ( TInt );
|
|
24 |
*( ( TUint8* )ptr ) = aParam3;
|
|
25 |
ptr += sizeof ( TUint8 );
|
|
26 |
*( ( TUint8* )ptr ) = aParam4;
|
|
27 |
ptr += sizeof ( TUint8 );
|
|
28 |
*( ( TUint8* )ptr ) = 0;
|
|
29 |
ptr += sizeof ( TUint8 );
|
|
30 |
*( ( TUint8* )ptr ) = 0;
|
|
31 |
ptr += sizeof ( TUint8 );
|
|
32 |
*( ( TUint* )ptr ) = aParam5;
|
|
33 |
ptr += sizeof ( TUint );
|
|
34 |
ptr -= 16;
|
|
35 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 16 );
|
|
36 |
}
|
|
37 |
return retval;
|
|
38 |
}
|
|
39 |
|
|
40 |
inline TBool OstTraceGenExt( TUint32 aTraceID, TInt32 aParam1, TInt32 aParam2, TUint8 aParam3, TUint8 aParam4, TUint32 aParam5 )
|
|
41 |
{
|
|
42 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
|
|
43 |
if ( retval )
|
|
44 |
{
|
|
45 |
TUint8 data[ 16 ];
|
|
46 |
TUint8* ptr = data;
|
|
47 |
*( ( TInt* )ptr ) = aParam1;
|
|
48 |
ptr += sizeof ( TInt );
|
|
49 |
*( ( TInt* )ptr ) = aParam2;
|
|
50 |
ptr += sizeof ( TInt );
|
|
51 |
*( ( TUint8* )ptr ) = aParam3;
|
|
52 |
ptr += sizeof ( TUint8 );
|
|
53 |
*( ( TUint8* )ptr ) = aParam4;
|
|
54 |
ptr += sizeof ( TUint8 );
|
|
55 |
*( ( TUint8* )ptr ) = 0;
|
|
56 |
ptr += sizeof ( TUint8 );
|
|
57 |
*( ( TUint8* )ptr ) = 0;
|
|
58 |
ptr += sizeof ( TUint8 );
|
|
59 |
*( ( TUint* )ptr ) = aParam5;
|
|
60 |
ptr += sizeof ( TUint );
|
|
61 |
ptr -= 16;
|
|
62 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 16 );
|
|
63 |
}
|
|
64 |
return retval;
|
|
65 |
}
|
|
66 |
|
|
67 |
|
|
68 |
inline TBool OstTraceGen2( TUint32 aTraceID, TUint aParam1, TInt aParam2 )
|
|
69 |
{
|
|
70 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
|
|
71 |
if ( retval )
|
|
72 |
{
|
|
73 |
TUint8 data[ 8 ];
|
|
74 |
TUint8* ptr = data;
|
|
75 |
*( ( TUint* )ptr ) = aParam1;
|
|
76 |
ptr += sizeof ( TUint );
|
|
77 |
*( ( TInt* )ptr ) = aParam2;
|
|
78 |
ptr += sizeof ( TInt );
|
|
79 |
ptr -= 8;
|
|
80 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 );
|
|
81 |
}
|
|
82 |
return retval;
|
|
83 |
}
|
|
84 |
|
|
85 |
inline TBool OstTraceGen2( TUint32 aTraceID, TUint32 aParam1, TInt32 aParam2 )
|
|
86 |
{
|
|
87 |
TBool retval = BTraceFiltered8( EXTRACT_GROUP_ID(aTraceID), EOstTraceActivationQuery, KOstTraceComponentID, aTraceID );
|
|
88 |
if ( retval )
|
|
89 |
{
|
|
90 |
TUint8 data[ 8 ];
|
|
91 |
TUint8* ptr = data;
|
|
92 |
*( ( TUint* )ptr ) = aParam1;
|
|
93 |
ptr += sizeof ( TUint );
|
|
94 |
*( ( TInt* )ptr ) = aParam2;
|
|
95 |
ptr += sizeof ( TInt );
|
|
96 |
ptr -= 8;
|
|
97 |
retval = OstSendNBytes( EXTRACT_GROUP_ID(aTraceID), EOstTrace, KOstTraceComponentID, aTraceID, ptr, 8 );
|
|
98 |
}
|
|
99 |
return retval;
|
|
100 |
}
|
|
101 |
|
|
102 |
|
|
103 |
#endif
|
|
104 |
|
|
105 |
// End of file
|
|
106 |
|