| class TTraceContext |
Class used to encapsulate the context of a trace point. For more information about the attributes please opensystemtrace_types.h.The attributes in TTraceContext are used to identify and filter the trace packet. opensystemtrace.mmh RUlogger for information on how to filter at run-time
| Public Member Functions | |
|---|---|
| TTraceContext (const TGroupId ) | |
| TTraceContext (const TGroupId , const THasThreadIdentification , const THasProgramCounter ) | |
| TTraceContext (const TComponentId , const TGroupId ) | |
| TTraceContext (const TComponentId , const TGroupId , const THasThreadIdentification , const THasProgramCounter ) | |
| IMPORT_C TClassification | Classification () |
| IMPORT_C TComponentId | ComponentId () |
| IMPORT_C TComponentId | DefaultComponentId () |
| IMPORT_C TGroupId | GroupId () |
| IMPORT_C THasProgramCounter | HasProgramCounter () |
| IMPORT_C THasThreadIdentification | HasThreadIdentification () |
| Private Member Functions | |
|---|---|
| TTraceContext () | |
| Private Attributes | |
|---|---|
| TComponentId | iComponentId |
| TGroupId | iGroupId |
| THasProgramCounter | iHasProgramCounter |
| THasThreadIdentification | iHasThreadIdentification |
| TUint32 | iReserved1 |
| TUint32 | iReserved2 |
| TTraceContext | ( | const TGroupId | aGroupId | ) | [inline] |
---------------TTraceContext----------------------- Define the context of a trace packet by setting its attributes.
The Component ID is defaulted according to the FW_DEFAULT_COMPONENTID definition. The HasThreadIdentification is defaulted to the FW_DEFAULT_HAS_THREAD_IDENTIFICATION definition. The HasProgramCounter is defaulted to the FW_DEFAULT_HAS_PC definition.
| const TGroupId aGroupId |
| TTraceContext | ( | const TGroupId | aGroupId, |
| const THasThreadIdentification | aHasThreadIdentification, | ||
| const THasProgramCounter | aHasProgramCounter | ||
| ) | [inline] | ||
Define the context of a trace packet by setting its attributes.
The Component ID is defaulted according to the FW_DEFAULT_COMPONENTID definition.
| const TGroupId aGroupId | |
| const THasThreadIdentification aHasThreadIdentification | Set whether to add thread identification automatically in the trace packet. |
| const THasProgramCounter aHasProgramCounter | Set whether to add PC (program counter) automatically in the trace packet. |
| TTraceContext | ( | const TComponentId | aComponentId, |
| const TGroupId | aGroupId | ||
| ) | [inline] | ||
Define the context of a trace packet by setting its attributes.
The HasThreadIdentification is defaulted to the FW_DEFAULT_HAS_THREAD_IDENTIFICATION definition. The HasProgramCounter is defaulted to the FW_DEFAULT_HAS_PC definition.
| const TComponentId aComponentId | |
| const TGroupId aGroupId |
| TTraceContext | ( | const TComponentId | aComponentId, |
| const TGroupId | aGroupId, | ||
| const THasThreadIdentification | aHasThreadIdentification, | ||
| const THasProgramCounter | aHasProgramCounter | ||
| ) | [inline] | ||
| const TComponentId aComponentId | |
| const TGroupId aGroupId | |
| const THasThreadIdentification aHasThreadIdentification | Set whether to add thread identification automatically in the trace packet. |
| const THasProgramCounter aHasProgramCounter | Set whether to add PC (program counter) automatically in the trace packet. |
| IMPORT_C TClassification | Classification | ( | ) | const |
Get the current group ID in form of classification (although classification is deprecated)
Use TTraceContext::GroupId() instead.
| IMPORT_C TComponentId | DefaultComponentId | ( | ) | [static] |
This method currently incorrectly returns 0, it should be returning the UID3 of the executable.
| IMPORT_C THasProgramCounter | HasProgramCounter | ( | ) | const |
Check if PC will be added by default.
| IMPORT_C THasThreadIdentification | HasThreadIdentification | ( | ) | const |
Check if thread identification will be added by default.
| THasThreadIdentification | iHasThreadIdentification | [private] |
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.