TTraceContext Class Reference
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
Constructor & Destructor Documentation
TTraceContext(const TGroupId)
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.
TGroupId
TTraceContext(const TGroupId, const THasThreadIdentification, const THasProgramCounter)
Define the context of a trace packet by setting its attributes.
The Component ID is defaulted according to the FW_DEFAULT_COMPONENTID definition.
TGroupId
Parameters
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, const TGroupId)
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.
TComponentId TGroupId
TTraceContext(const TComponentId, const TGroupId, const THasThreadIdentification, const THasProgramCounter)
TTraceContext()
TTraceContext | ( | ) | [private, inline] |
Member Functions Documentation
Classification()
Get the current group ID in form of classification (although classification is deprecated)
Use TTraceContext::GroupId() instead.
ComponentId()
Get the current Component Id
DefaultComponentId()
This method currently incorrectly returns 0, it should be returning the UID3 of the executable.
HasProgramCounter()
Check if PC will be added by default.
HasThreadIdentification()
Check if thread identification will be added by default.
Member Data Documentation
TComponentId
iComponentId
THasProgramCounter
iHasProgramCounter
THasThreadIdentification
iHasThreadIdentification
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.