Trace
- group TRACE
Defines debug trace macros for each module.
Copyright (c) 2017, Realtek Semiconductor Corporation. All rights reserved.
MODULE_ID
Module ID definition. trace.h
-
enum T_MODULE_ID
Values:
-
enumerator MODULE_PATCH
-
enumerator MODULE_OS
-
enumerator MODULE_OSIF
-
enumerator MODULE_BOOT
-
enumerator MODULE_PM
-
enumerator MODULE_AES
-
enumerator MODULE_FS
-
enumerator MODULE_DEBUG
-
enumerator MODULE_PHY
-
enumerator MODULE_DVFS
-
enumerator MODULE_DM
-
enumerator MODULE_BTM
-
enumerator MODULE_AUDIO
-
enumerator MODULE_REMOTE
-
enumerator MODULE_ENGAGE
-
enumerator MODULE_SYS
-
enumerator MODULE_UART
-
enumerator MODULE_FLASH
-
enumerator MODULE_CODEC
-
enumerator MODULE_DIPC
-
enumerator MODULE_MMI
-
enumerator MODULE_USB
-
enumerator MODULE_SDIO
-
enumerator MODULE_CHARGER
-
enumerator MODULE_DSP
-
enumerator MODULE_CONSOLE
-
enumerator MODULE_CTC
-
enumerator MODULE_IO
-
enumerator MODULE_SHM
-
enumerator MODULE_LOADER
-
enumerator MODULE_THREAD
-
enumerator MODULE_MATTER
-
enumerator MODULE_ZIGBEE
-
enumerator MODULE_APP
-
enumerator MODULE_DFU
-
enumerator MODULE_RFCOMM
-
enumerator MODULE_PROFILE
-
enumerator MODULE_PROTOCOL
-
enumerator MODULE_GAP
-
enumerator MODULE_BTE
-
enumerator MODULE_BTIF
-
enumerator MODULE_GATT
-
enumerator MODULE_SMP
-
enumerator MODULE_SDP
-
enumerator MODULE_L2CAP
-
enumerator MODULE_HCI
-
enumerator MODULE_SNOOP
-
enumerator MODULE_UPPERSTACK
-
enumerator MODULE_LOWERSTACK
-
enumerator MODULE_NUM
-
enumerator MODULE_PATCH
TRACE_LEVEL
Log Level Definition. trace.h
-
LEVEL_OFF
-
LEVEL_ERROR
-
LEVEL_WARN
-
LEVEL_INFO
-
LEVEL_TRACE
-
LEVEL_NUM
MODULE_BITMAP
Module bitmap definition. trace.h
-
MODULE_BIT_PATCH
-
MODULE_BIT_OS
-
MODULE_BIT_OSIF
-
MODULE_BIT_BOOT
-
MODULE_BIT_PM
-
MODULE_BIT_AES
-
MODULE_BIT_FS
-
MODULE_BIT_DEBUG
-
MODULE_BIT_PHY
-
MODULE_BIT_DVFS
-
MODULE_BIT_DM
-
MODULE_BIT_BTM
-
MODULE_BIT_AUDIO
-
MODULE_BIT_REMOTE
-
MODULE_BIT_ENGAGE
-
MODULE_BIT_SYS
-
MODULE_BIT_UART
-
MODULE_BIT_FLASH
-
MODULE_BIT_CODEC
-
MODULE_BIT_DIPC
-
MODULE_BIT_MMI
-
MODULE_BIT_USB
-
MODULE_BIT_SDIO
-
MODULE_BIT_CHARGER
-
MODULE_BIT_DSP
-
MODULE_BIT_CONSOLE
-
MODULE_BIT_CTC
-
MODULE_BIT_IO
-
MODULE_BIT_SHM
-
MODULE_BIT_LOADER
-
MODULE_BIT_THREAD
-
MODULE_BIT_MATTER
-
MODULE_BIT_ZIGBEE
-
MODULE_BIT_APP
-
MODULE_BIT_DFU
-
MODULE_BIT_RFCOMM
-
MODULE_BIT_PROFILE
-
MODULE_BIT_PROTOCOL
-
MODULE_BIT_GAP
-
MODULE_BIT_BTIF
-
MODULE_BIT_GATT
-
MODULE_BIT_SMP
-
MODULE_BIT_SDP
-
MODULE_BIT_L2CAP
-
MODULE_BIT_HCI
-
MODULE_BIT_SNOOP
-
MODULE_BIT_LOWERSTACK
-
MODULE_BIT_UPPERSTACK
AUXILIARY_PRINT_BDADDR
Auxiliary Interface that is used to print BD address. trace.h
-
TRACE_BDADDR(bd_addr)
AUXILIARY_PRINT_STRING
Auxiliary Interface that is used to print string. trace.h
-
TRACE_STRING(data)
AUXILIARY_PRINT_BINARY
Auxiliary Interface that is used to print binary string. trace.h
-
TRACE_BINARY(length, data)
SHM_PRINT_TRACE
SHM Trace Interfaces. trace.h
-
SHM_PRINT_ERROR0(fmt)
-
SHM_PRINT_ERROR1(fmt, arg0)
-
SHM_PRINT_ERROR2(fmt, arg0, arg1)
-
SHM_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
SHM_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
SHM_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
SHM_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
SHM_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
SHM_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
SHM_PRINT_WARN0(fmt)
-
SHM_PRINT_WARN1(fmt, arg0)
-
SHM_PRINT_WARN2(fmt, arg0, arg1)
-
SHM_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
SHM_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
SHM_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
SHM_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
SHM_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
SHM_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
SHM_PRINT_INFO0(fmt)
-
SHM_PRINT_INFO1(fmt, arg0)
-
SHM_PRINT_INFO2(fmt, arg0, arg1)
-
SHM_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
SHM_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
SHM_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
SHM_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
SHM_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
SHM_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
SHM_PRINT_TRACE0(fmt)
-
SHM_PRINT_TRACE1(fmt, arg0)
-
SHM_PRINT_TRACE2(fmt, arg0, arg1)
-
SHM_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
SHM_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
SHM_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
SHM_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
SHM_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
SHM_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
LOADER_PRINT_TRACE
BINLOADER Trace Interfaces. trace.h
-
LOADER_PRINT_ERROR0(fmt)
-
LOADER_PRINT_ERROR1(fmt, arg0)
-
LOADER_PRINT_ERROR2(fmt, arg0, arg1)
-
LOADER_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
LOADER_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
LOADER_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
LOADER_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
LOADER_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
LOADER_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
LOADER_PRINT_WARN0(fmt)
-
LOADER_PRINT_WARN1(fmt, arg0)
-
LOADER_PRINT_WARN2(fmt, arg0, arg1)
-
LOADER_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
LOADER_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
LOADER_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
LOADER_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
LOADER_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
LOADER_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
LOADER_PRINT_INFO0(fmt)
-
LOADER_PRINT_INFO1(fmt, arg0)
-
LOADER_PRINT_INFO2(fmt, arg0, arg1)
-
LOADER_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
LOADER_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
LOADER_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
LOADER_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
LOADER_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
LOADER_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
LOADER_PRINT_TRACE0(fmt)
-
LOADER_PRINT_TRACE1(fmt, arg0)
-
LOADER_PRINT_TRACE2(fmt, arg0, arg1)
-
LOADER_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
LOADER_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
LOADER_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
LOADER_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
LOADER_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
LOADER_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
THREAD_PRINT_TRACE
THREAD Trace Interfaces. trace.h
-
THREAD_PRINT_ERROR0(fmt)
-
THREAD_PRINT_ERROR1(fmt, arg0)
-
THREAD_PRINT_ERROR2(fmt, arg0, arg1)
-
THREAD_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
THREAD_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
THREAD_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
THREAD_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
THREAD_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
THREAD_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
THREAD_PRINT_WARN0(fmt)
-
THREAD_PRINT_WARN1(fmt, arg0)
-
THREAD_PRINT_WARN2(fmt, arg0, arg1)
-
THREAD_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
THREAD_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
THREAD_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
THREAD_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
THREAD_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
THREAD_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
THREAD_PRINT_INFO0(fmt)
-
THREAD_PRINT_INFO1(fmt, arg0)
-
THREAD_PRINT_INFO2(fmt, arg0, arg1)
-
THREAD_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
THREAD_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
THREAD_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
THREAD_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
THREAD_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
THREAD_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
THREAD_PRINT_TRACE0(fmt)
-
THREAD_PRINT_TRACE1(fmt, arg0)
-
THREAD_PRINT_TRACE2(fmt, arg0, arg1)
-
THREAD_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
THREAD_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
THREAD_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
THREAD_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
THREAD_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
THREAD_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
MATTER_PRINT_TRACE
MATTER Trace Interfaces. trace.h
-
MATTER_PRINT_ERROR0(fmt)
-
MATTER_PRINT_ERROR1(fmt, arg0)
-
MATTER_PRINT_ERROR2(fmt, arg0, arg1)
-
MATTER_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
MATTER_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
MATTER_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
MATTER_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
MATTER_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
MATTER_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
MATTER_PRINT_WARN0(fmt)
-
MATTER_PRINT_WARN1(fmt, arg0)
-
MATTER_PRINT_WARN2(fmt, arg0, arg1)
-
MATTER_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
MATTER_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
MATTER_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
MATTER_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
MATTER_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
MATTER_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
MATTER_PRINT_INFO0(fmt)
-
MATTER_PRINT_INFO1(fmt, arg0)
-
MATTER_PRINT_INFO2(fmt, arg0, arg1)
-
MATTER_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
MATTER_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
MATTER_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
MATTER_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
MATTER_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
MATTER_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
MATTER_PRINT_TRACE0(fmt)
-
MATTER_PRINT_TRACE1(fmt, arg0)
-
MATTER_PRINT_TRACE2(fmt, arg0, arg1)
-
MATTER_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
MATTER_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
MATTER_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
MATTER_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
MATTER_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
MATTER_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
ZIGBEE_PRINT_TRACE
ZIGBEE Trace Interfaces. trace.h
-
ZIGBEE_PRINT_ERROR0(fmt)
-
ZIGBEE_PRINT_ERROR1(fmt, arg0)
-
ZIGBEE_PRINT_ERROR2(fmt, arg0, arg1)
-
ZIGBEE_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
ZIGBEE_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
ZIGBEE_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ZIGBEE_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ZIGBEE_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ZIGBEE_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ZIGBEE_PRINT_WARN0(fmt)
-
ZIGBEE_PRINT_WARN1(fmt, arg0)
-
ZIGBEE_PRINT_WARN2(fmt, arg0, arg1)
-
ZIGBEE_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
ZIGBEE_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
ZIGBEE_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ZIGBEE_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ZIGBEE_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ZIGBEE_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ZIGBEE_PRINT_INFO0(fmt)
-
ZIGBEE_PRINT_INFO1(fmt, arg0)
-
ZIGBEE_PRINT_INFO2(fmt, arg0, arg1)
-
ZIGBEE_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
ZIGBEE_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
ZIGBEE_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ZIGBEE_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ZIGBEE_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ZIGBEE_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ZIGBEE_PRINT_TRACE0(fmt)
-
ZIGBEE_PRINT_TRACE1(fmt, arg0)
-
ZIGBEE_PRINT_TRACE2(fmt, arg0, arg1)
-
ZIGBEE_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
ZIGBEE_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
ZIGBEE_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ZIGBEE_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ZIGBEE_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ZIGBEE_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
APP_PRINT_TRACE
Bluetooth APP Trace Interfaces. trace.h
-
APP_PRINT_ERROR0(fmt)
-
APP_PRINT_ERROR1(fmt, arg0)
-
APP_PRINT_ERROR2(fmt, arg0, arg1)
-
APP_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
APP_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
APP_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
APP_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
APP_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
APP_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
APP_PRINT_WARN0(fmt)
-
APP_PRINT_WARN1(fmt, arg0)
-
APP_PRINT_WARN2(fmt, arg0, arg1)
-
APP_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
APP_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
APP_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
APP_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
APP_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
APP_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
APP_PRINT_INFO0(fmt)
-
APP_PRINT_INFO1(fmt, arg0)
-
APP_PRINT_INFO2(fmt, arg0, arg1)
-
APP_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
APP_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
APP_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
APP_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
APP_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
APP_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
APP_PRINT_TRACE0(fmt)
-
APP_PRINT_TRACE1(fmt, arg0)
-
APP_PRINT_TRACE2(fmt, arg0, arg1)
-
APP_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
APP_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
APP_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
APP_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
APP_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
APP_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
CONSOLE_PRINT_TRACE
Console Trace Interfaces. trace.h
-
CONSOLE_PRINT_ERROR0(fmt)
-
CONSOLE_PRINT_ERROR1(fmt, arg0)
-
CONSOLE_PRINT_ERROR2(fmt, arg0, arg1)
-
CONSOLE_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
CONSOLE_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
CONSOLE_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
CONSOLE_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
CONSOLE_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
CONSOLE_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
CONSOLE_PRINT_WARN0(fmt)
-
CONSOLE_PRINT_WARN1(fmt, arg0)
-
CONSOLE_PRINT_WARN2(fmt, arg0, arg1)
-
CONSOLE_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
CONSOLE_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
CONSOLE_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
CONSOLE_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
CONSOLE_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
CONSOLE_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
CONSOLE_PRINT_INFO0(fmt)
-
CONSOLE_PRINT_INFO1(fmt, arg0)
-
CONSOLE_PRINT_INFO2(fmt, arg0, arg1)
-
CONSOLE_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
CONSOLE_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
CONSOLE_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
CONSOLE_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
CONSOLE_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
CONSOLE_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
CONSOLE_PRINT_TRACE0(fmt)
-
CONSOLE_PRINT_TRACE1(fmt, arg0)
-
CONSOLE_PRINT_TRACE2(fmt, arg0, arg1)
-
CONSOLE_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
CONSOLE_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
CONSOLE_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
CONSOLE_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
CONSOLE_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
CONSOLE_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
ENGAGE_PRINT_TRACE
Engage Trace Interfaces. trace.h
-
ENGAGE_PRINT_ERROR0(fmt)
-
ENGAGE_PRINT_ERROR1(fmt, arg0)
-
ENGAGE_PRINT_ERROR2(fmt, arg0, arg1)
-
ENGAGE_PRINT_ERROR3(fmt, arg0, arg1, arg2)
-
ENGAGE_PRINT_ERROR4(fmt, arg0, arg1, arg2, arg3)
-
ENGAGE_PRINT_ERROR5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ENGAGE_PRINT_ERROR6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ENGAGE_PRINT_ERROR7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ENGAGE_PRINT_ERROR8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ENGAGE_PRINT_WARN0(fmt)
-
ENGAGE_PRINT_WARN1(fmt, arg0)
-
ENGAGE_PRINT_WARN2(fmt, arg0, arg1)
-
ENGAGE_PRINT_WARN3(fmt, arg0, arg1, arg2)
-
ENGAGE_PRINT_WARN4(fmt, arg0, arg1, arg2, arg3)
-
ENGAGE_PRINT_WARN5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ENGAGE_PRINT_WARN6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ENGAGE_PRINT_WARN7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ENGAGE_PRINT_WARN8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ENGAGE_PRINT_INFO0(fmt)
-
ENGAGE_PRINT_INFO1(fmt, arg0)
-
ENGAGE_PRINT_INFO2(fmt, arg0, arg1)
-
ENGAGE_PRINT_INFO3(fmt, arg0, arg1, arg2)
-
ENGAGE_PRINT_INFO4(fmt, arg0, arg1, arg2, arg3)
-
ENGAGE_PRINT_INFO5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ENGAGE_PRINT_INFO6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ENGAGE_PRINT_INFO7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ENGAGE_PRINT_INFO8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
-
ENGAGE_PRINT_TRACE0(fmt)
-
ENGAGE_PRINT_TRACE1(fmt, arg0)
-
ENGAGE_PRINT_TRACE2(fmt, arg0, arg1)
-
ENGAGE_PRINT_TRACE3(fmt, arg0, arg1, arg2)
-
ENGAGE_PRINT_TRACE4(fmt, arg0, arg1, arg2, arg3)
-
ENGAGE_PRINT_TRACE5(fmt, arg0, arg1, arg2, arg3, arg4)
-
ENGAGE_PRINT_TRACE6(fmt, arg0, arg1, arg2, arg3, arg4, arg5)
-
ENGAGE_PRINT_TRACE7(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6)
-
ENGAGE_PRINT_TRACE8(fmt, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
Functions
-
void log_module_trace_init(uint64_t mask[(4)])
Initialize module trace mask.
trace.h
- 参数:
mask – [in] Module trace mask array. Set NULL to load default mask array.
- 返回:
None.
-
bool log_module_trace_set(T_MODULE_ID module_id, uint8_t trace_level, bool set)
Enable/Disable the module ID’s trace.
trace.h
- 参数:
module_id – [in] The specific module ID defined in MODULE_ID.
trace_level – [in] The trace level of the module ID defined in TRACE_LEVEL.
set – [in] Enable or disable the module ID’s trace.
true
Enable the module ID’s trace.false
Disable the module ID’s trace.
- 返回值:
true – Module ID’s trace was set successfully.
false – Module ID’s trace was failed to set.
- 返回:
The status of setting module ID’s trace.
-
bool log_module_bitmap_trace_set(uint64_t module_bitmap, uint8_t trace_level, bool set)
Enable/Disable module bitmap’s trace.
trace.h
- 参数:
module_bitmap – [in] The module bitmap defined in MODULE_BITMAP.
trace_level – [in] The trace level of the module bitmap defined in TRACE_LEVEL.
set – [in] Enable or disable the module bitmap’s trace.
true
Enable the module bitmap’s trace.false
Disable the module bitmap’s trace.
- 返回值:
true – Module bitmap’s trace was set successfully.
false – Module bitmap’s trace was failed to set.
- 返回:
The status of setting module bitmap’s trace.
Variables
-
uint32_t (*sys_timestamp_get)(void)
Get system timestamp.
trace.h
- Param None.:
- Return:
System timestamp value in milliseconds.
-
enum T_MODULE_ID