class BTrace |
Class for handling fast tracing.
A trace record consists of three parts: a header, header extensions, and the trace data itself.
The header consists of four bytes containing:
Size of the record in bytes. (Maximum value is KMaxBTraceRecordSize.)
Flags. See enum TFlags.
Category. Category value from enum BTrace::TCategory.
Sub-category. The meaning of this is dependent on the value of Category.
TUint8* record; // pointer to trace record TInt size = record[BTrace::ESizeIndex]; record += (size+3)&~3; // move record pointer on to next record.The NextRecord() method is provided to do this operation.
Following the header are optionally a number of 32 bit 'header extension' values. These are present in the order shown below but only exist if the appropriate flag bit is set in the Header.
Header2. Contains flag values from enum Flags2. This value is only present if the EHeader2Present flag is set.
Timestamp. A timestamp value indicating when the trace was generated. The format and resolution of this value are platform-dependent, but typically will contain the same values as would be returned by User::FastCounter() or NKern::FastCounter(). This value is only present if the ETimestampPresent flag is set.
Timestamp2. Additional timestamp information. E.g. the most significant half of a 64bit timestamp value. Note, it is valid for a Timestamp2 value to be present even if the previous Timestamp is absent. This value is only present if the ETimestamp2Present flag is set.
00 indicates the value is the address of the NThread object for the currently executing thread.
01 indicates Fast Interrupt (FIQ) context. Other bits of the value are currently reserved for future use.
10 indicates Interrupt (IRQ) context. Other bits of the value are currently reserved for future use.
11 indicates Immediate Delayed Function Call (IDFC) context. Other bits of the value are currently reserved for future use.
Program Counter. This is the memory address of the instruction after the location the trace was output. This value is only present if the EPcPresent flag is set.
Extra. An extra value used for different purposes depending on the trace type. This value is only present if the EExtraPresent flag is set.
Following the header extensions are 0 or more bytes of trace data specified when the trace was output.
BTrace0
BTrace4
BTrace8
BTrace12
BTraceN
BTraceBig
BTracePc0
BTracePc4
BTracePc8
BTracePc12
BTracePcN
BTracePcBig
BTraceContext0
BTraceContext4
BTraceContext8
BTraceContext12
BTraceContextN
BTraceContextBig
BTraceContextPc0
BTraceContextPc4
BTraceContextPc8
BTraceContextPc12
BTraceContextPcN
BTraceContextPcBig
Whenever a trace is output, the trace handler is called with the arguments specified. See typedef THandler and SetHandler().
Each tracing category has a filter bit, which if set to zero means that traces in that category are discarded, see SetFilter(). This filtering is performed before the trace handler is called. This filter may also be initialised from boot time by using the 'btrace' keyword in an OBY file used to build a ROM image.
Traces may also be additionally sent through a second level of filtering. This examines the first 32 bits of data in the trace and if this value isn't present in the list maintained in the secondary filter, the trace is discarded. The contents of the secondary filter are set using the SetFilter2 methods.
0x00000000..0x007fffff Reserved for platform specific use.
0x00800000..0x00ffffff Reserved for use by Symbian.
To generate traces which are to be processed by the secondary filter, the following macros can be used:
BTraceFiltered4
BTraceFiltered8
BTraceFiltered12
BTraceFilteredN
BTraceFilteredBig
BTraceFilteredPc4
BTraceFilteredPc8
BTraceFilteredPc12
BTraceFilteredPcN
BTraceFilteredPcBig
BTraceFilteredContext4
BTraceFilteredContext8
BTraceFilteredContext12
BTraceFilteredContextN
BTraceFilteredContextBig
BTraceFilteredContextPc4
BTraceFilteredContextPc8
BTraceFilteredContextPc12
BTraceFilteredContextPcN
BTraceFilteredContextPcBig
Traces generated using the above methods will be filtered twice; once using the primary filter which checks the trace's category, and once using the secondary filter which checks the 32 bit UID value at the start of the trace data. Therefore the trace must pass both filter checks for it to be sent to the trace handler for output.
Public Member Functions | |
---|---|
IMPORT_C TBool | CheckFilter(TUint32) |
IMPORT_C TBool | CheckFilter2(TUint32, TUint32) |
TBool | DoOutBig(TUint32, TUint32, const TAny *, TInt, TUint32, TUint32) |
void | Init0() |
TBool | IsSupported(TUint) |
TUint8 * | NextRecord(TAny *) |
IMPORT_C TBool | Out(TUint32, TUint32, TUint32, TUint32) |
IMPORT_C TBool | OutBig(TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutFiltered(TUint32, TUint32, TUint32, TUint32) |
IMPORT_C TBool | OutFilteredBig(TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutFilteredN(TUint32, TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutFilteredNX(TUint32, TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutFilteredPcFormatBig(TUint32, TUint32, TUint32, TUint16, const TAny *, TInt) |
IMPORT_C TBool | OutFilteredX(TUint32, TUint32, TUint32, TUint32) |
IMPORT_C TBool | OutN(TUint32, TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutNX(TUint32, TUint32, TUint32, const TAny *, TInt) |
IMPORT_C TBool | OutX(TUint32, TUint32, TUint32, TUint32) |
Public Member Type Definitions | |
---|---|
typedef | TBool(* TBTrace1 |
typedef | TBool(* TBTrace2 |
typedef | TBool(* TBTrace3 |
Public Attributes | |
---|---|
TUint32 | BigTraceId |
IMPORT_C TBool | CheckFilter | ( | TUint32 | aCategory | ) | [static] |
Check the trace filters to see if a trace with a given category would be output.
TUint32 aCategory | A category value from enum BTrace::TCategory. Only the 8 least significant bits in this value are used; other bits are ignored. |
IMPORT_C TBool | CheckFilter2 | ( | TUint32 | aCategory, |
TUint32 | aUid | |||
) | [static] |
Check the trace filters to see if a trace with a given category and filter UID would be output.
TBool | DoOutBig | ( | TUint32 | a0, |
TUint32 | a1, | |||
const TAny * | aData, | |||
TInt | aDataSize, | |||
TUint32 | aContext, | |||
TUint32 | aPc | |||
) | [static] |
TUint8 * | NextRecord | ( | TAny * | aCurrentRecord | ) | [static, inline] |
Calculate the address of the next trace record.
TAny * aCurrentRecord | A pointer to a trace record. |
IMPORT_C TBool | Out | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
TUint32 | a3 | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutBig | ( | TUint32 | a0, |
TUint32 | a1, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutFiltered | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
TUint32 | a3 | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutFilteredBig | ( | TUint32 | a0, |
TUint32 | a1, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutFilteredN | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutFilteredNX | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutFilteredPcFormatBig | ( | TUint32 | aHeader, |
TUint32 | aModuleUid, | |||
TUint32 | aPc, | |||
TUint16 | aFormatId, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for UTrace calls, that need to set both program counter and format id as well as the normal parameters.
IMPORT_C TBool | OutFilteredX | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
TUint32 | a3 | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutN | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutNX | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
const TAny * | aData, | |||
TInt | aDataSize | |||
) | [static] |
Common function for BTrace macros.
IMPORT_C TBool | OutX | ( | TUint32 | a0, |
TUint32 | a1, | |||
TUint32 | a2, | |||
TUint32 | a3 | |||
) | [static] |
Common function for BTrace macros.
Enumeration of trace categories.
ERDebugPrintf = 0 |
Trace generated by all calls to RDebug::Printf. The first 4 bytes of trace data contain the thread ID, RThread::Id(), for the thread which caused this trace to be emitted. If the trace wasn't generated in thread context, this id has the value KNullThreadId. Subsequent bytes of data contain the ASCII text for the formatted string generated by Kern::Printf. These traces also contain a context ID, i.e. the EContextIdPresent flag is set and a context ID value is present in the extended header. If the trace text doesn't fit completely into one trace record, then a multipart trace is generated. See enum TMultiPart. |
EKernPrintf = 1 |
Trace generated by all calls to Kern::Printf. Trace records in this category have the same structure as ERDebugPrintf. |
EPlatsecPrintf = 2 |
Trace generated by platform security diagnostic messages. Trace records in this category have the same structure as ERDebugPrintf. |
EThreadIdentification = 3 |
Trace generated for the purpose of associating thread context ids with the textual names of threads. These traces are usually generated when a thread is created, renamed or destroyed. If Prime is called with this category, traces will be generated for all threads currently extant. |
ECpuUsage = 4 |
Trace generated when the CPU usage changes state, e.g. at thread context switch or during interrupt and DFC processing. The purpose of this trace category is to profile CPU usage. enum TCpuUsage |
EKernPerfLog = 5 |
Category used for profiling device drivers, kernel extensions etc. Used by PERF_LOG macro. 9.3 |
EClientServer = 6 |
Trace generated when client-server activity takes place such as server creation, session management, message handling, etc. If Prime is called with this category, traces will be generated for all servers currently running and their sessions. |
ERequests = 7 |
Trace generated on thread request completion. |
EChunks = 8 |
Trace generated when chunks are created and destroyed, and when memory is committed and decommitted to and from chunks. If Prime is called with this category, traces will be generated for all chunks currently extant. |
ECodeSegs = 9 |
Trace generated when code segments are created and destroyed, mapped into out of processes, and when memory is committed and decommitted to and from them. If Prime is called with this category, traces will be generated for all code segments currently extant. |
EPaging = 10 |
Trace generated by Demand Paging. 9.3 |
EThreadPriority = 11 |
Trace generated when thread and process priorities are modified, whether directly or through priority inheritance, aging or other mechanisms used by the kernel. The purpose of this category is to enable system-wide study of thread priority usage. If Prime is called with this category, traces will be generated for all threads currently extant. enum TThreadPriority 9.3 |
EPagingMedia = 12 |
Trace generated by processing Paging requests in the Media subsystem and Media drivers. 9.3 |
EKernelMemory = 13 |
Trace generated by the kernel for memory regions which don't belong to any chunk. enum TKernelMemory 9.4 |
EHeap = 14 |
Trace generated by user-mode heap usage. Unlike other trace categories, capturing heap trace involves an additional step depending on how much trace is required. To enable heap trace for a single process from the moment it starts, add the following line to the .exe's project (.mmp) file: firstlib eexe_instrumented_heap.lib This overrides the build tools default implicit link (for .exe projects) against eexe.lib. Alternatively, to enable heap trace for all processes at once you can enable the KUSERHEAPTRACE bit (#96) of the kernel trace flags. You can set this flag either at ROM-building time (look for the 'kerneltrace' line generally in <platform>.iby) or at runtime by running the following at the Eshell command prompt: trace 0 0 1 Note that changing this flag at runtime only affects processes created after the flag is set or unset. It will not affect running processes. enum THeap 9.4 |
EMetaTrace = 15 |
Meta trace. Trace that is only useful to programs which use or display BTrace-based data. enum TMetaTrace 9.4 |
ERamAllocator = 16 |
Trace generated by the ram allocator to allow the physical layout of RAM to be tracked. |
EFastMutex = 17 |
Trace generated by the Fast Mutex in the Nkern. |
EProfiling = 18 |
Trace generated by any sampling profiler. enum TProfiling |
EResourceManager = 19 |
Trace generated by Power Resource Manager. 9.5 |
EResourceManagerUs = 20 |
Trace generated by Power Resource Manager User-Side API. 9.5 |
ERawEvent = 21 |
Trace generated by Raw Event subsystem APIs enum TRawEventTrace 9.5 |
EUsb = 22 |
Trace generated by USB communications (Client, Host and OTG) where use of standard logging (conditional Kern::Printf() calls) is sufficiently time-consuming that the required device timings mandated by the core USB standards cannot be achieved 9.5 |
ESymbianKernelSync = 23 |
Trace generated by Symbian OS kernel synchronization objects. 9.5 |
EFlexibleMemModel = 24 |
Trace generated by the flexible memory model. |
EIic = 25 |
Trace generated by IIC bus. 9.6 |
EPlatformSpecificFirst = 128 |
First category value in the range reserved for platform specific use; the end of this range is EPlatformSpecificLast. Symbian's code will not generate any traces with categories in this range. It is strongly recommended that platforms reserve the first half of this range (128..143) for definition and use by base-port (kernel-side) code. Any general trace framework built on top of BTrace APIs should use the second half of the range. This allows fast (primary filtered only) BTrace categories to be used in device drivers and other base-port code, without clashing with more general trace frameworks implemented for application layer code. |
EPlatformSpecificLast = 191 |
Last category value in the range reserved for platform specific use. EPlatformSpecificFirst |
ESymbianExtentionsFirst = 192 |
First category value in the range reserved for Symbian tools and future trace framework implementations; the end of this range is ESymbianExtentionsLast. |
ESymbianExtentionsLast = 253 |
Last category value in the range reserved for Symbian tools and future trace framework implementations. ESymbianExtentionsFirst |
ETest1 = 254 |
Used for testing purposes. This may be used for ad-hoc testing purposes, e.g. special builds of components with tracing enabled for diagnostic purposes. This category is also used by the E32 BTrace unit tests. Test |
ETest2 = 255 |
Used for testing purposes. This may be used for ad-hoc testing purposes, e.g. special builds of components with tracing enabled for diagnostic purposes. This category is also used by the E32 BTrace unit tests. Test |
Enumeration of sub-category values for trace category EChunks. EChunks
EChunkCreated |
Trace output when a chunk is created. Trace data format:
|
EChunkInfo |
Trace output when a chunk is created containing extra chunk information. Note that the meaning of the data in this trace is different between memory models, and may change without warning. Trace data format:
|
EChunkDestroyed |
Trace output when a chunk is destroyed. Trace data format:
|
EChunkMemoryAllocated |
Trace output when memory is allocated and committed to a chunk. Trace data format:
|
EChunkMemoryDeallocated |
Trace output when memory is decommitted from a chunk and deallocated. Trace data format:
|
EChunkMemoryAdded |
Trace output when un-owned memory is committed to a chunk. Trace data format:
|
EChunkMemoryRemoved |
Trace output when un-owned memory is decommitted to a chunk. Trace data format:
|
EChunkOwner |
Trace to indicate the owning process of a chunk - only for local (private) chunks. Trace data format:
|
9.3
EServerCreate |
Trace generated whenever a server is created and during prime. Trace data format:
|
EServerDestroy |
Trace generated whenever a server is destroyed. Trace data format:
|
ESessionAttach |
Trace generated whenever a new session is attached to a server and during prime. I.e. a new session has been created. Trace data format:
The context id (NThread*) in this trace is that of the thread creating the session (apart from during prime when it is NULL). |
ESessionDetach |
Trace generated whenever a server session is detached from a server. I.e. a session has been closed. Trace data format:
|
EMessageSend |
Trace generated whenever a new message is sent to a server. Trace data format:
The context id (NThread*) in this trace is that of the thread which sent the message. |
EMessageReceive |
Trace generated when a server receives a new message. Trace data format:
|
EMessageComplete |
Trace generated whenever a message is completed using RMessagePtr2::Complete. Trace data format:
The context id (NThread*) in this trace is that of the thread which completed the message. |
Enumeration of sub-category values for trace category ECodeSegs. ECodeSegs
ECodeSegCreated |
Trace output when a code segment is created to associate a code segment id with a filename. Trace data format:
|
ECodeSegInfo |
Trace output when a code segment is created. Trace data format:
|
ECodeSegDestroyed |
Trace output when a code segment is destroyed. Trace data format:
|
ECodeSegMapped |
Trace output when a code segment is mapped into a process. Trace data format:
|
ECodeSegUnmapped |
Trace output when a code segment is unmapped from a process. Trace data format:
|
ECodeSegMemoryAllocated |
Trace output when memory is allocated to a code segment. Under the multiple memory model, code segments for RAM-loaded user code own the RAM pages the code occupies. The pages are not owned by any chunk, but are mapped into the code chunk of each process that uses the code segment. Trace data format:
|
ECodeSegMemoryDeallocated |
Trace output when memory is deallocated from a code segment. Under the multiple memory model, code segments for RAM-loaded user code own the RAM pages the code occupies. The pages are not owned by any chunk, but are mapped into the code chunk of each process that uses the code segment. Trace data format:
|
Enumeration of sub-category values for trace category ECpuUsage. ECpuUsage
EIrqStart |
Trace output at start of Interrupt (IRQ) dispatch. On platforms which support nested interrupts, traces for these will also be nested. |
EIrqEnd |
Trace output at end of Interrupt (IRQ) dispatch. Note, this trace isn't generated if an Interrupt Service Routine queues a DFC or causes a thread to be scheduled. In these cases, the traces for these events (EIDFCStart or ENewThreadContext) should be taken to indicate that interrupt servicing has ended. |
EFiqStart |
Trace output at start of Fast Interrupt (FIQ) dispatch. On platforms which support nested interrupts, traces for these will also be nested. |
EFiqEnd |
Trace output at end of Fast Interrupt (FIQ) dispatch. Note, this trace isn't generated if an Interrupt Service Routine queues a DFC or causes a thread to be scheduled. In these cases, the traces for these events (EIDFCStart or ENewThreadContext) should be taken to indicate that interrupt servicing has ended. |
EIDFCStart |
Trace output at start of Immediate Delayed Function Call (IDFC) processing. This processing also includes moving DFCs to their final queue, so the trace does not necessarily indicate that any IDFCs have been executed. |
EIDFCEnd |
Trace output at end of Immediate Delayed Function Call (IDFC) processing. |
ENewThreadContext |
Trace output when a thread is scheduled to run. The context id (NThread*) in this trace is that of the thread being scheduled. |
EFastMutexWait |
Event generated when a thread acquires a fast mutex, (waits on it). Trace data format:
|
EFastMutexSignal |
Event generated when a thread releases a fast mutex, (signals it). Trace data format:
|
EFastMutexFlash |
Event generated when a fast mutex is 'flashed' (signalled then immediately waited on again). E.g the operation performed by NKern::FlashSystem. Trace data format:
|
EFastMutexName |
Trace to associate a fast mutex with a textual name. Trace data format:
|
EFastMutexBlock |
Event generated when a thread blocks on a fast mutex. Trace data format:
|
Bit flags which indicate state of a trace record.
EHeader2Present = 1<<0 |
Header2 is present in the trace record. |
ETimestampPresent = 1<<1 |
A timestamp value is present in the trace record. |
ETimestamp2Present = 1<<2 |
A second timestamp value is present in the trace record. |
EContextIdPresent = 1<<3 |
A context ID is present in the trace record. |
EPcPresent = 1<<4 |
A CPU program counter (PC) value is present in the trace record. |
EExtraPresent = 1<<5 |
An 'extra' value is present in the trace record. |
ERecordTruncated = 1<<6 |
Indicates that the data in this trace record was truncated to keep the size within the maximum permissible. |
EMissingRecord = 1<<7 |
Indicates that trace record(s) before this one are missing. This can happen if the trace buffer was full when a trace output was attempted. |
Bit flags present in the Flags2 value of the header extension.
EMultipartFlagMask = 3<<0 |
Masks out the bits for the multipart trace type. (See enum TMultiPart.) |
ECpuIdMask = 0xfff<<20 |
Masks out the bits for the CPU ID for SMP systems (zero if present on non SMP systems) |
EMemoryObjectCreate |
A memory object has been created. Trace data format:
|
EMemoryObjectDestroy |
A memory object has been destroyed. Trace data format:
|
EMemoryMappingCreate |
A memory mapping has been created. Trace data format:
|
EMemoryMappingDestroy |
A memory mapping has been destroyed. Trace data format:
|
EMemoryObjectIsChunk |
A memory object is being used for the contents of a chunk. Trace data format:
|
EMemoryObjectIsCodeSeg |
A memory object is being used for the contents of a code segment. Trace data format:
|
EMemoryObjectIsProcessStaticData |
A memory object is being used for process static data. Trace data format:
|
EMemoryObjectIsDllStaticData |
A memory object is being used for DLL static data. Trace data format:
|
EMemoryObjectIsSupervisorStack |
A memory object is being used for a thread's supervisor stack. Trace data format:
|
EMemoryObjectIsUserStack |
A memory object is being used for a thread's user stack. Trace data format:
|
EAddressSpaceId |
Identifies the Address Space ID (ASID) used for a process. Trace data format:
|
Byte indices into the trace header for specific fields.
ESizeIndex = 0 |
Size of record in bytes. |
EFlagsIndex = 1 |
Bitfield of flags from enum TFlags. E.g. to detect if a timestamp is present in the record, code like this could be used.
TUint8* record; // pointer to trace record if(record[BTrace::EFlagsIndex]&BTrace::ETimestampPresent) TimestampPresent(); else TimestampNotPresent(); |
ECategoryIndex = 2 |
Category value from enum BTrace::TCategory. |
ESubCategoryIndex = 3 |
Sub-category value. The meaning of this is dependent on the Category. |
Enumeration of sub-category values for trace category EHeap. EHeap
EHeapCreate |
Event recorded during process startup which logs the point of heap creation. Trace data format:
|
EHeapChunkCreate |
Event recorded during process startup which details the chunk being used as a heap. Trace data format:
|
EHeapAlloc |
Event recorded when RHeap::Alloc() is called. Trace data format:
|
EHeapReAlloc |
Event recorded when RHeap::ReAlloc() is called. Trace data format:
|
EHeapFree |
Event recorded when RHeap::Free() is called. Trace data format:
|
EHeapAllocFail |
Event recorded when RHeap::Alloc() fails. Trace data format:
|
EHeapReAllocFail |
Event recorded when RHeap::ReAlloc() fails. Trace data format:
|
EHeapCorruption |
Event recorded when heap memory corruption occurs. Trace data format:
|
EHeapCallStack |
Trace to provide additional heap debugging information. This trace (if present) is generated by Symbian OS memory debug tools, and will follow one of the other THeap events (e.g. EHeapAlloc, EHeapFree, etc.). It is intended to provide a stack trace for the preceding heap event, to indicate how the previous heap event was generated. On many systems exact stack frames are not available, and the values will be extracted from the stack using heuristics, so there may be some spurious values and some missing values. Trace data format:
|
Enumeration of sub-category values for trace category EIic. EIic 9.6
ERegisterChansStartPsl = 0 |
Trace output for the invocation by the PSL of registering an array of pointers to channels with the IIC bus controller. Trace data format:
|
ERegisterChansStartPil = 1 |
Trace output for the start of the PIL registering an array of pointers to channels with the IIC bus controller. Trace data format:
|
ERegisterChansEndPil = 2 |
Trace output for the end of the PIL registering an array of pointers to channels with the IIC bus controller. Trace data format:
|
ERegisterChansEndPsl = 3 |
Trace output for the end of the PSL registering an array of pointers to channels with the IIC bus controller. Trace data format:
|
EDeRegisterChanStartPsl = 4 |
Trace output for the start of the PSL de-registering a channel with the IIC bus controller. Trace data format:
|
EDeRegisterChanStartPil = 5 |
Trace output for the start of the PIL de-registering a channel with the IIC bus controller. Trace data format:
|
EDeRegisterChanEndPil = 6 |
Trace output for the end of the PSL de-registering a channel with the IIC bus controller. Trace data format:
|
EDeRegisterChanEndPsl = 7 |
Trace output for the end of the PSL de-registering a channel with the IIC bus controller. Trace data format:
|
EMQTransSyncStartPil = 8 |
Trace output for the start of a synchronous queue transaction request in the PIL. Trace data format:
|
EMQTransSyncEndPil = 9 |
Trace output for the end of a synchronous queue transaction request in the PIL. Trace data format:
|
EMQTransAsyncStartPil = 10 |
Trace output for the start of a synchronous queue transaction request in the PIL. Trace data format:
|
EMQTransAsyncEndPil = 11 |
Trace output for the end of a synchronous queue transaction request in the PIL. Trace data format:
|
EMCancelTransStartPil = 12 |
Trace output for the start of cancelling an asynchronous queue transaction request in the PIL. Trace data format:
|
EMCancelTransEndPil = 13 |
Trace output for the end of cancelling an asynchronous queue transaction request in the PIL. Trace data format:
|
EMProcessTransStartPil = 14 |
Trace output for the start of processing a transaction request in the PIL. Trace data format:
|
EMProcessTransStartPsl = 15 |
Trace output for the start of processing a transaction request in the PSL. Trace data format:
|
EMProcessTransEndPsl = 16 |
Trace output for the end of processing a transaction request in the PSL. Trace data format:
|
EMProcessTransEndPil = 17 |
Trace output for the end of processing a transaction request in the PIL. Trace data format:
|
ESCaptChanSyncStartPil = 18 |
Trace output for the start of synchronously capturing a Slave channel in the PIL. Trace data format:
|
ESCaptChanSyncStartPsl = 19 |
Trace output for the start of synchronously capturing a Slave channel in the PSL. Trace data format:
|
ESCaptChanSyncEndPsl = 20 |
Trace output for the end of synchronously capturing a Slave channel in the PSL. Trace data format:
|
ESCaptChanSyncEndPil = 21 |
Trace output for the end of synchronously capturing a Slave channel in the PIL. Trace data format:
|
ESCaptChanASyncStartPil = 22 |
Trace output for the start of asynchronously capturing a Slave channel in the PIL. Trace data format:
|
ESCaptChanASyncStartPsl = 23 |
Trace output for the start of asynchronously capturing a Slave channel in the PSL. Trace data format:
|
ESCaptChanASyncEndPsl = 24 |
Trace output for the end of asynchronously capturing a Slave channel in the PSL. Trace data format:
|
ESCaptChanASyncEndPil = 25 |
Trace output for the end of asynchronously capturing a Slave channel in the PIL. Trace data format:
|
ESRelChanStartPil = 26 |
Trace output for the start of releasing a Slave channel in the PIL. Trace data format:
|
ESRelChanStartPsl = 27 |
Trace output for the start of releasing a Slave channel in the PSL. Trace data format:
|
ESRelChanEndPsl = 28 |
Trace output for the end of releasing a Slave channel in the PSL. Trace data format:
|
ESRelChanEndPil = 29 |
Trace output for the end of releasing a Slave channel in the PIL. Trace data format:
|
ESRegRxBufStartPil = 30 |
Trace output for the start of registering an Rx buffer for a Slave channel in the PIL. Trace data format:
|
ESRegRxBufStartPsl = 31 |
Trace output for the start of registering an Rx buffer for a Slave channel in the PSL. Trace data format:
|
ESRegRxBufEndPsl = 32 |
Trace output for the end of registering an Rx buffer for a Slave channel in the PSL. Trace data format:
|
ESRegRxBufEndPil = 33 |
Trace output for the end of registering an Rx buffer for a Slave channel in the PIL. Trace data format:
|
ESRegTxBufStartPil = 34 |
Trace output for the start of registering an Tx buffer for a Slave channel in the PIL. Trace data format:
|
ESRegTxBufStartPsl = 35 |
Trace output for the start of registering an Tx buffer for a Slave channel in the PSL. Trace data format:
|
ESRegTxBufEndPsl = 36 |
Trace output for the end of registering an Tx buffer for a Slave channel in the PSL. Trace data format:
|
ESRegTxBufEndPil = 37 |
Trace output for the start of setting a notification for a Slave channel in the PIL. Trace data format:
|
ESNotifTrigStartPil = 38 |
Trace output for the start of setting a notification for a Slave channel in the PIL. Trace data format:
|
ESNotifTrigStartPsl = 39 |
Trace output for the start of setting a notification for a Slave channel in the PSL. Trace data format:
|
ESNotifTrigEndPsl = 40 |
Trace output for the end of setting a notification for a Slave channel in the PSL. Trace data format:
|
ESNotifTrigEndPil = 41 |
Trace output for the end of setting a notification for a Slave channel in the PIL. Trace data format:
|
EMSStatExtStartPil = 42 |
Trace output for the start of a StaticExtension operaton for a MasterSlave channel in the PIL. Trace data format:
|
EMSStatExtEndPil = 43 |
Trace output for the end of a StaticExtension operation for a MasterSlave channel in the PIL. Trace data format:
|
EMStatExtStartPil = 44 |
Trace output for the start of a StaticExtension operation for a Master channel in the PIL. Trace data format:
|
EMStatExtStartPsl = 45 |
Trace output for the start of a StaticExtension operation for a Master channel in the PSL. Trace data format:
|
EMStatExtEndPsl = 46 |
Trace output for the end of a StaticExtension operation for a Master channel in the PSL. Trace data format:
|
EMStatExtEndPil = 47 |
Trace output for the end of a StaticExtension operation for a Master channel in the PIL. Trace data format:
|
ESStatExtStartPil = 48 |
Trace output for the start of a StaticExtension operation for a Slave channel in the PIL. Trace data format:
|
ESStatExtStartPsl = 49 |
Trace output for the start of a StaticExtension operation for a Slave channel in the PSL. Trace data format:
|
ESStatExtEndPsl = 50 |
Trace output for the end of a StaticExtension operation for a Slave channel in the PSL. Trace data format:
|
ESStatExtEndPil = 51 |
Trace output for the end of a StaticExtension operation for a Slave channel in the PIL. Trace data format:
|
Enumeration of sub-category values for trace category EKernelMemory. EKernelMemory
EKernelMemoryInitialFree |
Event recorded during startup and prime which details the initial amount of free RAM. Trace data format:
|
EKernelMemoryCurrentFree |
Event recorded during prime which records the then-current amount of free RAM. Trace data format:
|
EKernelMemoryMiscAlloc |
Event recorded when a miscellaneous kernel allocation is made. These include:
Trace data format:
|
EKernelMemoryMiscFree |
Event recorded when a miscellaneous kernel allocation (see EKernelMemoryMiscAlloc above) is freed. Trace data format:
|
EKernelMemoryDemandPagingCache |
The amount of memory reserved for the minimum demand paging cache. The *actual* DP cache also uses free memory, only this minimum amount is permanently reserved for that purpose. This event is recorded during prime and when the amount changes. Trace data format:
|
EKernelMemoryDrvPhysAlloc |
Physically contiguous memory allocated by device drivers via one of: Epoc::AllocPhysicalRam() Epoc::ZoneAllocPhysicalRam() Epoc::ClaimPhysicalRam() TRamDefragRequest::ClaimRamZone() Trace data format:
NB: The prime function logs a EKernelMemoryDrvPhysAlloc record where the physical address is -1 and should be ignored. |
EKernelMemoryDrvPhysFree |
Memory freed by device drivers via calls to all versions of Epoc::FreePhysicalRam(). Trace data format:
|
Enumeration of sub-category values for trace category EMetaTrace. EMetaTrace
EMetaTraceTimestampsInfo |
Information about timestamps used for tracing. Trace data format:
The format of the timestamp period data is a period in seconds given using an exponent and mantissa format, where the most significant 8 bits are the signed power-of-two value for the exponent, and the least significant 24 bits are the integer value of the mantissa. The binary point is to the right of the least significant mantissa bit, and the mantissa may not be in normalised form. Example code for decoding the period:
TInt32 period; // value from trace record int exponent = (signed char)(period>>24); int mantissa = period&0xffffff; double periodInSeconds = (double)mantissa*pow(2,exponent); |
EMetaTraceMeasurementStart |
Trace indicating the start of a test case being measured. Trace data format:
|
EMetaTraceMeasurementEnd |
Trace indicating the end of a test case being measured. Trace data format:
The values contained in this trace must be identical to those in the corresponding ETraceInfoMeasurementStart trace. |
EMetaTraceFilterChange |
Trace indicating a change in state of the primary filter. Trace data format:
|
Values for multipart trace indicator. These values are stored in Flags2 an are obtained by ANDing with the value EMultipartFlagMask.
If a 'Big' trace is generated which doesn't fit into a single trace record then its data is split into several separate trace records; a multipart trace.
In multipart traces the 'extra' trace value is present in the header extension. (EExtraPresent is set.) This extra value contains a unique trace identifier which is the same is all parts of the trace.
A is the initial 4 bytes of data; the a1 argument of BTraceBig.
D is the array of bytes of additional data; the aData argument of BTraceBig.
N is the size of D; the aDataSize argument of BTraceBig
X is the maximum number of additional bytes which will fit into a trace record. This is usually KMaxBTraceDataArray but this should not be assumed, instead the size and other information present in each trace record should be examined.
For the first part of a multipart trace, the data in a trace record has the following structure:
4 bytes containing N.
4 bytes containing A.
X bytes containing D[0..X-1]
If the parts are numbered 0 through to 'j', then a middle part of a multipart trace is numbered 'i' where 0<i<j. The data in these parts has the structure:
4 bytes containing N.
4 bytes containing X*i. I.e. the offset within D for the data in this trace record.
X bytes containing D[X*i..X*i+X-1]
For the last part of a multipart trace, the data has the structure:
4 bytes containing N.
4 bytes containing X*j. I.e. the offset within D for the data in this trace record.
N modulo X bytes containing D[X*j..N-1]. I.e. the final bytes of the trace data.
EMultipartFirst = 1 |
Indicates that this trace is the first part of a multipart trace. |
EMultipartMiddle = 2 |
Indicates that this trace is a middle part of a multipart trace. I.e. it is not the first or last part. |
EMultipartLast = 3 |
Indicates that this trace is the last part of a multipart trace. |
Enumeration of sub-category values for trace category EPaging. EPaging
EPagingPageInBegin |
This event indicates the beginning of the 'page in' activity. The end of this activity is indicated by one of the following events:
Trace data format:
On the flexible memory model, the following addition trace data is also present:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageInUnneeded |
Event which terminates the 'page in' activity when the required page was found to have been paged in by another thread while the current thread was processing the fault (see EPagingPageInBegin). Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageInROM |
A ROM page has been paged in. This event indicates the end of the 'page in' activity. (See EPagingPageInBegin.) Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageIn is used instead. |
EPagingPageOutROM |
A ROM page has been 'paged out'. I.e. removed from the live list to be either reused or returned to free pool. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageOut is used instead. |
EPagingPageInFree |
A Free page has been 'paged in'. I.e. added to the live list. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageOutFree |
A Free page has been 'paged out'. I.e. removed from the live list to be either reused or returned to free pool. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageOut is used instead. |
EPagingRejuvenate |
A page has been made 'young' again because it was accessed. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageNop |
A page fault was found to have already been previously serviced. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model. |
EPagingPageLock |
A page has been locked. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageUnlock |
A page has been unlocked. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageOutCache |
A page containing RAM cache has been 'paged out'. I.e. removed from the live list to be either reused or returned to free pool. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageOut is used instead. |
EPagingPageInCode |
A page containing RAM-loaded code has been paged in. This event indicates the end of the 'page in' activity. (See EPagingPageInBegin.) Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageIn is used instead. |
EPagingPageOutCode |
A page containing RAM-loaded code has been 'paged out'. I.e. removed from the live list to be either reused or returned to free pool. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is not emitted on the flexible memory model - EPagingPageOut is used instead. |
EPagingMapCode |
A page of RAM-loaded code was found to already be 'paged in' but not mapped in the faulting process. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is only emitted on the multiple memory model. |
EPagingAged |
A page has been made 'old' because it was the last young page to be accessed. This trace is only produced when the kernel is compiled with the BTRACE_PAGING_VERBOSE macro defined. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingDecompressStart |
Trace emitted at the start of decompression of demand paged data. This trace is only produced when the kernel is compiled with the BTRACE_PAGING_VERBOSE macro defined. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingDecompressEnd |
Trace emitted at the end of decompression of demand paged data. This trace is only produced when the kernel is compiled with the BTRACE_PAGING_VERBOSE macro defined. The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingMemoryModel |
Information about the kernel's memory model. Trace data format:
|
EPagingChunkDonatePage |
A page has been donated to the paging cache via RChunk::Unlock(). Trace data format:
This trace is not emitted on the flexible memory model. EPagingDonatePage |
EPagingChunkReclaimPage |
A page has been reclaimed from the paging cache via RChunk::Lock(). Trace data format:
This trace is not emitted on the flexible memory model. EPagingReclaimPage. |
EPagingPageIn |
A page has been paged in. This event indicates the end of the 'page in' activity. (See EPagingPageInBegin.) Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is only emitted on the flexible memory model. |
EPagingPageOut |
A page has been 'paged out'. I.e. removed from the live list to be either reused or returned to free pool. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is only emitted on the flexible memory model. |
EPagingMapPage |
Event which terminates the 'page in' activity when the required page was found to already be paged in but not mapped in the faulting process (see EPagingPageInBegin). Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is only emitted on the flexible memory model. |
EPagingDonatePage |
A page has been donated to the paging cache via RChunk::Unlock(). Trace data format:
This trace is only emitted on the flexible memory model. EPagingChunkDonatePage. |
EPagingReclaimPage |
A page has been reclaimed from the paging cache via RChunk::Lock(). Trace data format:
This trace is only emitted on the flexible memory model. EPagingChunkReclaimPage. |
EPagingAgedClean |
A page has been moved to the oldest clean list because it was the last old page and it was clean. This trace is only produced when the kernel is compiled with the BTRACE_PAGING_VERBOSE macro defined. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingAgedDirty |
A page has been moved to the oldest dirty list because it was the last old page and it was dirty. This trace is only produced when the kernel is compiled with the BTRACE_PAGING_VERBOSE macro defined. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. |
EPagingPageTableAlloc |
A page has been allocated to hold the MMU page tables required to map demand paged memory. Trace data format:
The context id (NThread*) in this trace is that of the thread caused this paging event. This trace is only emitted on the flexible memory model. |
Enumeration of sub-category values for trace category EPagingMedia. EPagingMedia
EPagingMediaLocMedPageInBegin |
Event generated when a request to 'page in' data is received by the Local Media Subsystem. Trace data format:
The context id (NThread*) in this trace is that of the thread that took the page fault that caused this event. |
EPagingMediaLocMedPageInPagedIn |
Event generated by the Local Media Subsystem when a request to page data in or out has completed. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedPageInDeferred |
Event generated by the Local Media Subsystem when a request to 'page in' data is deferred. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedPageInDeferredReposted |
Event generated by the Local Media Subsystem when a request to 'page in' data that has been deferred is re-posted. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedPageInReDeferred |
Event generated by the Local Media Subsystem when a request to 'page in' data is re-deferred. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedPageInQuietlyDeferred |
Event generated by the Local Media Subsystem when a request to 'page in' data is issued when the media is not yet open. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedFragmentBegin |
Event generated by the Local Media Subsystem when a fragment of a Write request is created and is ready to be sent to the Media Driver thread . Trace data format:
The context id (NThread*) in this trace is that of the File Server drive thread that issued the original Write request. |
EPagingMediaLocMedFragmentEnd |
Event generated by the Local Media Subsystem when a Write fragment is completed . Trace data format:
The context id (NThread*) in this trace is that of the File Server drive thread that issued the original Write request. |
EPagingMediaPagingMedDrvBegin |
Event generated when the Media Driver starts processing a request to 'page in' data in its specific Request(..) function. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaMedDrvWriteBack |
Event generated by the Media Driver when the data read by a 'page in' request is written to the paging buffer. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaMedDrvOnHold |
Event generated when a request to 'page in' data is put on hold because the Media Driver is performing some background operation (not another request) and cannot service the request. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaMedDrvRead |
Event generated by the Media Driver when the data read by a 'page out' request is read from the paging buffer. Trace data format:
The context id (NThread*) in this trace is that of the media driver thread that services this 'page in' request. |
EPagingMediaLocMedPageOutBegin |
Event generated when a request to 'page out' data is received by the Local Media Subsystem. Trace data format:
The context id (NThread*) in this trace is that of the thread that took the page fault that caused this event. |
EPagingMediaLocMedDeleteNotifyBegin |
Event generated when a request to mark an area of the swap file as deleted is received by the Local Media Subsystem. Trace data format:
The context id (NThread*) in this trace is that of the thread that took the page fault that caused this event. |
Enumeration of sub-category values for trace category EProfiling. BTrace::EProfiling
ECpuFullSample = 0 |
CPU sample including program counter and thread context. Trace data format:
|
ECpuOptimisedSample |
Optimised CPU sample including program counter. Doesn't include a thread context id as it hasn't changed since the last sample. Trace data format:
|
ECpuIdfcSample |
CPU sample from iDFC including program counter. Trace data format:
|
ECpuNonSymbianThreadSample |
CPU sample from non-Symbian thread. Trace data format:
|
Enumeration of sub-category values for trace category ERamAllocator. BTrace::ERamAllocator
ERamAllocZoneCount |
The number of RAM zones. Trace data format:
|
ERamAllocZoneConfig |
Information on the layout of a RAM zone. Trace data format:
|
ERamAllocBootAllocation |
This trace is sent for every contiguous block of RAM that was allocated during the kernel boot process. Trace data format:
|
ERamAllocBootAllocationEnd |
This trace marks the end of the boot allocations Trace data format:
|
ERamAllocZoneFlagsModified |
Event generated when a RAM zone's flags have been modified This could occur when a RAM zone is blocked/unblocked from further allocations from all/certain page types. Trace data format:
|
ERamAllocClaimRam |
Event generated when DRamAllocator::ClaimPhysicalRam has successfully claimed the specified RAM pages. Trace data format:
|
ERamAllocMarkAllocated |
Event generated when DRamAllocator::MarkPageAllocated has successfully marked the specified page as allocated. Trace data format:
|
ERamAllocContiguousRam |
Event generated when DRamAllocator::AllocContiguousRam successfully allocates the requested number of pages. Trace data format:
|
ERamAllocFreePage |
Event generated when DRamAllocator::FreePage has successfully freed the specified RAM page. Trace data format:
|
ERamAllocFreePhysical |
Event generated when DRamAllocator::FreePhysical successfully freed the specified RAM page(s). Trace data format:
|
ERamAllocRamPages |
Event generated for each contiguous block of pages when DRamAllocator::AllocRamPages or DRamAllocator::ZoneAllocRamPages are attempting to fulfil a request. Trace data format:
|
ERamAllocFreePages |
Event generated for contiguous block of pages when DRamAllocator::FreeRamPages is invoked. Trace data format:
|
ERamAllocRamPagesEnd |
Event generated when DRamAllocator::AllocRamPages has successfully allocated all the requested number of RAM pages. If DRamAllocator::AllocRamPages couldn't allocate all the requested pages then this event is not generated. Trace data format:
|
ERamAllocFreePagesEnd |
Event generated when all ERamAllocFreePages events for a particular call of DRamAllocator::FreeRamPages have been generated. Trace data format:
|
ERamAllocChangePageType |
Event generated when DRamAllocator::ChangePageType is has successfully updated the type of the specified page. Trace data format:
|
ERamAllocZoneContiguousRam |
Event generated when DRamAllocator::ZoneAllocContiguousRam has successfully allocated the required number of pages. Trace data format:
|
ERamAllocZoneRamPagesEnd |
Event generated when DRamAllocator::ZoneAllocRamPages has successfully allocated all the requested RAM pages. If DRamAllocator::ZoneAllocRamPages couldn't allocate all the requested pages then this event is not generated. Trace data format:
|
ERamAllocClaimZone |
Event generated when Epoc::ClaimRamZone has successfully claimed the requested zone. Trace data format:
|
Enumeration of sub-category values for trace category ERawEvent. BTrace::ERawEvent
ESetEvent = 1 |
For all the set Functions in the TRawEvent class. Trace Data Format Varies depends which of the Overloaded Set Method from where its set . Trace data format: if there are only one 4 byte data --The Following oder is folloed for data.
if there are 2*4 byte data
if there are 3*4 byte data
if there are 4*4 byte data
if there are 5*4 byte data
if there are 7*4 byte data
|
ESetTipEvent |
For user side SetTip Events Trace data format:
|
ESetTiltEvent |
For SetTilt Events Trace data format:
|
ESetRotationtEvent |
For SetRotation Events Trace data format:
|
ESetPointerNumberEvent |
For SetPointerNumber Events Trace data format:
|
EUserAddEvent |
For user side addevents (User::AddEvent) Trace data format:
|
EKernelAddEvent |
For kernal side addevents (Kern::AddEvent) Trace data format:
|
9.3
ERequestComplete |
Trace generated whenever a request status is completed. Trace data format:
The context id (NThread*) in this trace is that of the thread which completed the request. |
Enumeration of sub-category values for trace category EResourceManager. EResourceManager 9.5
ERegisterResource = 0 |
Trace output for resource registration. Trace data format:
|
ERegisterClient |
Trace output for client registration Trace data format:
|
EDeRegisterClient |
Trace output for client deregistration Trace data format:
|
ESetResourceStateStart |
Trace output for resource state change start operation Trace data format:
|
ESetResourceStateEnd |
Trace output for resource state change end operation Trace data format:
|
EPostNotificationRegister |
Trace output for registration for post notification Trace data format:
|
EPostNotificationDeRegister |
Trace output for deregistration for post notification Trace data format:
|
EPostNotificationSent |
Trace output for post notification sent. Trace data format:
|
ECallbackComplete |
Trace output for Callback complete Trace data format:
|
EMemoryUsage |
Trace output for resource manager memory usage Trace data format:
|
EGetResourceStateStart |
Trace output for get resource state start operation Trace data format:
|
EGetResourceStateEnd |
Trace output for get resource state end operation Trace data format:
|
ECancelLongLatencyOperation |
Trace output for cancellation of long latency operation Trace data format:
|
EBooting |
Trace output for booting of resource manager Trace data format:
|
EPslChangeResourceStateStart |
Trace output for PSL resource state change operation Trace data format:
|
EPslChangeResourceStateEnd |
Trace output for PSL resource state change operation Trace data format:
|
EPslGetResourceStateStart |
Trace output for get resource state start operation in PSL Trace data format:
|
EPslGetResourceStateEnd |
Trace output for get resource state end operation in PSL Trace data format:
|
EPslResourceCreate |
Trace output for resource creation Trace data format:
|
ERegisterStaticResourceWithDependency |
Trace output for static resource with dependency registration Trace data format:
|
ERegisterDynamicResource |
Trace output for dynamic resource registration Trace data format:
|
EDeRegisterDynamicResource |
Trace output for dynamic resource deregistration Trace data format:
|
ERegisterResourceDependency |
Trace output for resource dependency registration Trace data format:
|
EDeRegisterResourceDependency |
Trace output for resource dependency deregistration Trace data format:
|
Enumeration of sub-category values for trace category EResourceManagerUs. EResourceManagerUs 9.5
EOpenChannelUsStart = 0 |
Trace output for the start of opening a channel to the Resource Controller. Trace data format:
|
EOpenChannelUsEnd |
Trace output for the end of opening a channel to the Resource Controller. Trace data format:
|
ERegisterClientUsStart |
Trace output for the start of registering a client with the Resource Controller. Trace data format:
|
ERegisterClientUsEnd |
Trace output for the end of registering a client with the Resource Controller. Trace data format:
|
EDeRegisterClientUsStart |
Trace output for the start of de-registering a client with the Resource Controller. Trace data format:
|
EDeRegisterClientUsEnd |
Trace output for the end of registering a client with the Resource Controller. Trace data format:
|
EGetResourceStateUsStart |
Trace output for the start of a GetResourceState request to the Resource Controller. Trace data format:
|
EGetResourceStateUsEnd |
Trace output for the end of a GetResourceState request to the Resource Controller. Trace data format:
|
ESetResourceStateUsStart |
Trace output for the start of a ChangeResourceState request to the Resource Controller. Trace data format:
|
ESetResourceStateUsEnd |
Trace output for the end of a ChangeResourceState request to the Resource Controller. Trace data format:
|
ECancelGetResourceStateUsStart |
Trace output for the start of a cancel GetResourceState request to the Resource Controller. Trace data format:
|
ECancelGetResourceStateUsEnd |
Trace output for the end of a cancel GetResourceState request to the Resource Controller. Trace data format:
|
ECancelSetResourceStateUsStart |
Trace output for the start of a cancel ChangeResourceState request to the Resource Controller. Trace data format:
|
ECancelSetResourceStateUsEnd |
Trace output for the end of a cancel ChangeResourceState request to the Resource Controller. Trace data format:
|
ESemaphoreCreate = 0x00 |
A semaphore (DSemaphore) has been created. Trace data format:
|
ESemaphoreDestroy = 0x01 |
A semaphore (DSemaphore) has been destroyed. Trace data format:
|
ESemaphoreAcquire = 0x02 |
A semaphore (DSemaphore) has been acquired. Trace data format:
|
ESemaphoreRelease = 0x03 |
A semaphore (DSemaphore) has been released. Trace data format:
|
ESemaphoreBlock = 0x04 |
A thread has blocked on a semaphore (DSemaphore) Trace data format:
|
EMutexCreate = 0x10 |
A mutex (DMutex) has been created. Trace data format:
|
EMutexDestroy = 0x11 |
A mutex (DMutex) has been destroyed. Trace data format:
|
EMutexAcquire = 0x12 |
A mutex (DMutex) has been acquired. Trace data format:
|
EMutexRelease = 0x13 |
A mutex (DMutex) has been released. Trace data format:
|
EMutexBlock = 0x14 |
A thread has blocked on a mutex (DMutex) Trace data format:
|
ECondVarCreate = 0x20 |
A condition variable (DCondVar) has been created. Trace data format:
|
ECondVarDestroy = 0x21 |
A condition variable (DCondVar) has been destroyed. Trace data format:
|
ECondVarBlock = 0x22 |
A thread has blocked on a condition variable (DCondVar) Trace data format:
|
ECondVarWakeUp = 0x23 |
A thread has been released from a condition variable (DCondVar) wait Trace data format:
|
ECondVarSignal = 0x24 |
A condition variable (DCondVar) has been signalled Trace data format:
|
ECondVarBroadcast = 0x25 |
A condition variable (DCondVar) has been signalled in broadcast mode. Trace data format:
|
Enumeration of sub-category values for trace category EThreadIdentification. EThreadIdentification
ENanoThreadCreate |
A nano-kernel thread (NThread) has been created. Trace data format:
|
ENanoThreadDestroy |
A nano-kernel thread (NThread) has been destroyed. Trace data format:
|
EThreadCreate |
A thread (DThread) has been created. Trace data format:
|
EThreadDestroy |
A thread (DThread) has been destroyed. Trace data format:
|
EThreadName |
A thread (DThread) has been renamed. This trace may also be output by the tracing system at initialisation in order to identify threads already in existence. Trace data format:
|
EProcessName |
A process has been renamed. This trace may also be output together with EThreadCreate or EThreadName traces to help identify the name of the process to which the thread belongs. Trace data format:
|
EThreadId |
Informational trace giving a threads ID, as returned by RThread::Id(). Trace data format:
|
EProcessCreate |
A process has been created. Trace data format:
|
EProcessDestroy |
A process has been destroyed. Trace data format:
|
Enumeration of sub-category values for trace category EThreadPriority. EThreadPriority 9.3
ENThreadPriority = 0 |
Trace output when a nanothread priority is changed. Trace data format:
|
EDThreadPriority = 1 |
Trace output when a DThread's default priority is set. Trace data format:
|
EProcessPriority = 2 |
Trace output when a DProcess priority is changed. Trace data format:
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.