![]() |
![]() |
|
SysLink API Reference
2.21.03.11
|
Kernel Trace enabling/disabling/application interface.
This will have the definitions for kernel side traces statements and also details of variable traces supported in existing implementation.
#include <ti/syslink/utils/OsalPrint.h>

Go to the source code of this file.
Macros | |
| #define | OSALTRACE_MODULEID (UInt16) 0xDA50 |
| Module ID for OsalTrace OSAL module. | |
| #define | GT_TRACESTATE_MASK 0x0000000F |
| Trace state mask. | |
| #define | GT_TRACESTATE_SHIFT 0u |
| Bit shift for trace state. | |
| #define | GT_TRACEENTER_MASK 0x000000F0 |
| Trace enter mask. | |
| #define | GT_TRACEENTER_SHIFT 4u |
| Bit shift for trace enter. | |
| #define | GT_TRACESETFAILURE_MASK 0x00000F00 |
| Trace Set Failure Reason mask. | |
| #define | GT_TRACESETFAILURE_SHIFT 8u |
| Bit shift for trace Set Failure Reason. | |
| #define | GT_TRACECLASS_MASK 0x000F0000 |
| GT class mask. | |
| #define | GT_TRACECLASS_SHIFT 16u |
| Bit shift for GT class mask. | |
| #define | GT_assert(x, y) |
| #define | GT_setFailureReason(mask, classId, func, status, msg) |
| #define | GT_0trace(mask, classId, format) |
| #define | GT_1trace(mask, classId, format, arg1) |
| #define | GT_2trace(mask, classId, format, arg1, arg2) |
| #define | GT_3trace(mask, classId, format, arg1, arg2, arg3) |
| #define | GT_4trace(mask, classId, format, arg1, arg2, arg3, arg4) |
| #define | GT_5trace(mask, classId, format, arg1, arg2, arg3, arg4, arg5) |
| #define | GT_6trace(mask, classId, format, arg1, arg2, arg3, arg4, arg5, arg6) |
| #define | GT_setTrace(mask, type) 0 |
Enumerations | |
| enum | GT_TraceState { GT_TraceState_Disable = 0x00000000, GT_TraceState_Enable = 0x00000001, GT_TraceState_EndValue = 0x00000002 } |
| Enumerates the types of states of trace (enable/disable) More... | |
| enum | GT_TraceEnter { GT_TraceEnter_Disable = 0x00000000, GT_TraceEnter_Enable = 0x00000010, GT_TraceEnter_EndValue = 0x00000020 } |
| Enumerates the states of enter/leave trace (enable/disable) More... | |
| enum | GT_TraceSetFailure { GT_TraceSetFailure_Disable = 0x00000000, GT_TraceSetFailure_Enable = 0x00000100, GT_TraceSetFailure_EndValue = 0x00000200 } |
| Enumerates the states of SetFailureReason trace (enable/disable) More... | |
| enum | GT_TraceClass { GT_1CLASS = 0x00010000, GT_2CLASS = 0x00020000, GT_3CLASS = 0x00030000, GT_4CLASS = 0x00040000, GT_ENTER = 0x00050000, GT_LEAVE = 0x00060000 } |
| Enumerates the types of trace classes. More... | |
| enum | GT_TraceType { GT_TraceType_User = 0x00000000, GT_TraceType_Kernel = 0x00000001, GT_TraceType_EndValue = 0x00000003 } |
| Enumerates the types of trace. More... | |
| #define OSALTRACE_MODULEID (UInt16) 0xDA50 |
Module ID for OsalTrace OSAL module.
| #define GT_TRACESTATE_MASK 0x0000000F |
Trace state mask.
| #define GT_TRACESTATE_SHIFT 0u |
Bit shift for trace state.
| #define GT_TRACEENTER_MASK 0x000000F0 |
Trace enter mask.
| #define GT_TRACEENTER_SHIFT 4u |
Bit shift for trace enter.
| #define GT_TRACESETFAILURE_MASK 0x00000F00 |
Trace Set Failure Reason mask.
| #define GT_TRACESETFAILURE_SHIFT 8u |
Bit shift for trace Set Failure Reason.
| #define GT_TRACECLASS_MASK 0x000F0000 |
GT class mask.
| #define GT_TRACECLASS_SHIFT 16u |
Bit shift for GT class mask.
| #define GT_assert | ( | x, | |
| y | |||
| ) |
| #define GT_setFailureReason | ( | mask, | |
| classId, | |||
| func, | |||
| status, | |||
| msg | |||
| ) |
| #define GT_0trace | ( | mask, | |
| classId, | |||
| format | |||
| ) |
| #define GT_1trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1 | |||
| ) |
| #define GT_2trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1, | |||
| arg2 | |||
| ) |
| #define GT_3trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1, | |||
| arg2, | |||
| arg3 | |||
| ) |
| #define GT_4trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1, | |||
| arg2, | |||
| arg3, | |||
| arg4 | |||
| ) |
| #define GT_5trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1, | |||
| arg2, | |||
| arg3, | |||
| arg4, | |||
| arg5 | |||
| ) |
| #define GT_6trace | ( | mask, | |
| classId, | |||
| format, | |||
| arg1, | |||
| arg2, | |||
| arg3, | |||
| arg4, | |||
| arg5, | |||
| arg6 | |||
| ) |
| #define GT_setTrace | ( | mask, | |
| type | |||
| ) | 0 |
| enum GT_TraceState |
| enum GT_TraceEnter |
| enum GT_TraceSetFailure |
| enum GT_TraceClass |
Enumerates the types of trace classes.
| enum GT_TraceType |