const CtxFilter_ALWAYS_ENABLED |
 |
Event logging is not qualified by context
const CtxFilter_CONTEXT_DISABLED |
 |
Disable logging at the call site
const CtxFilter_CONTEXT_ENABLED |
 |
Enable logging at the call site (subject to Diags.Mask)
typedef CtxFilter_Mask |
 |
Type used to specify bits in the context mask
typedef Bits16 CtxFilter_Mask;
extern CtxFilter_ti_uia_runtime_CtxFilter_gEnableMask |
 |
Bits16 CtxFilter_ti_uia_runtime_CtxFilter_gEnableMask; // linked as extern ti_uia_runtime_CtxFilter_ti_uia_runtime_CtxFilter_gEnableMask
extern CtxFilter_ti_uia_runtime_CtxFilter_gFlags |
 |
Bits16 CtxFilter_ti_uia_runtime_CtxFilter_gFlags; // linked as extern ti_uia_runtime_CtxFilter_ti_uia_runtime_CtxFilter_gFlags
extern CtxFilter_ti_uia_runtime_CtxFilter_gIsLoggingEnabled |
 |
Bool CtxFilter_ti_uia_runtime_CtxFilter_gIsLoggingEnabled; // linked as extern ti_uia_runtime_CtxFilter_ti_uia_runtime_CtxFilter_gIsLoggingEnabled
CtxFilter_isCtxEnabled() // module-wide |
 |
macro Bool CtxFilter_isCtxEnabled();
CtxFilter_isLoggingEnabledForChanCtx() // module-wide |
 |
optional function to enable context-aware filtering based on channel context
Bool CtxFilter_isLoggingEnabledForChanCtx(Int newChanId);
ARGUMENTS
newChanId
the new channel ID that has just been switched to
DETAILS
Configure the ti.uia.events.UIAChanCtx.IsLoggingEnabledFxn with the
address of this function in order to enable context-aware filtering based on
channel context. Alternatively, you can write your own isLoggingEnabled function
that provides additional filtering and logging capabilities (e.g. it can log
sync points whenever the context changes).
RETURN
true if logging is enabled for this user context.
CtxFilter_isLoggingEnabledForFrameCtx() // module-wide |
 |
optional function to enable context-aware filtering based on frame context
Bool CtxFilter_isLoggingEnabledForFrameCtx(Int newFrameId);
ARGUMENTS
newFrameId
the new Frame ID that has just been switched to
DETAILS
Configure the ti.uia.events.UIAFrameCtx.IsLoggingEnabledFxn with the
address of this function in order to enable context-aware filtering based on
frame context. Alternatively, you can write your own isLoggingEnabled function
that provides additional filtering and logging capabilities (e.g. it can log
sync points whenever the context changes).
RETURN
true if logging is enabled for this user context.
CtxFilter_isLoggingEnabledForThreadCtx() // module-wide |
 |
optional function to enable context-aware filtering based on user context
Bool CtxFilter_isLoggingEnabledForThreadCtx(Int newThreadId);
ARGUMENTS
newThreadId
the new thread ID that has just been switched to
DETAILS
Configure the ti.uia.events.UIAThreadCtx.IsLoggingEnabledFxn with the
address of this function in order to enable context-aware filtering based on
thread context. Alternatively, you can write your own isLoggingEnabled function
that provides additional filtering and logging capabilities (e.g. it can log
sync points whenever the context changes).
RETURN
true if logging is enabled for this user context.
CtxFilter_isLoggingEnabledForUserCtx() // module-wide |
 |
optional function to enable context-aware filtering based on user context
Bool CtxFilter_isLoggingEnabledForUserCtx(Int newUserCtx);
ARGUMENTS
newUserCtx
the new user context that has just been switched to
DETAILS
Configure the ti.uia.events.UIAUserCtx.IsLoggingEnabledFxn with the
address of this function in order to enable context-aware filtering based on
user context. Alternatively, you can write your own isLoggingEnabled function
that provides additional filtering and logging capabilities (e.g. it can log
sync points whenever the context changes).
RETURN
true if logging is enabled for this user context.
CtxFilter_setContextFilterFlags() // module-wide |
 |
sets the context filter flags
Void CtxFilter_setContextFilterFlags(Bits16 flags);
ARGUMENTS
flags
bitfield of flags, one per context filter type
Module-Wide Built-Ins |
 |
// Get this module's unique id
Bool CtxFilter_Module_startupDone();
// Test if this module has completed startup
// The heap from which this module allocates memory
Bool CtxFilter_Module_hasMask();
// Test whether this module has a diagnostics mask
Bits16 CtxFilter_Module_getMask();
// Returns the diagnostics mask for this module
Void CtxFilter_Module_setMask(Bits16 mask);
// Set the diagnostics mask for this module