Reference Guide

ZCOM Tables and Data Structures
ZCOM Kernel Data
Chapter 3130
DEBUG - Debug level
This field is used by the LDM to produce driver debug logs for its
processing. Some LDM modules have embedded debug codes, which
check this field to log debug messages. The format of this field is shown
in Table 3-49. The values of the bits in the field are described in
Table 3-50.
This field is maintained by the zmon debug and zmon nodebug
commands. Because the debug logging increases the LDM overhead and
is mainly for internal use, these commands are not recommended for
users.
Table 3-49 Debug Level Field Format
15-8 7 6 5-4 3-0
FID MLOG CLOG UNUSED LEVEL
Table 3-50 Debug Level Field Values
Bit Name
Value
(hex)
Meaning
LEVE
L
ZCOM_DEBUG_LEVE
L
0x0000000
F
Debug level (0 means no debug, else
debug enabled for all debug code this is
of a level the same or lower than this
value.)
CLOG ZCOM_DEBUG_CLOG 0x0000001
0
If set, log debug message to system
console.
MLOG ZCOM_DEBUG_MLO
G
0x0000002
0
If set, log debug messages to ZCOM
message log.
FID ZCOM_DEBUG_FID 0x0000FF0
0
Number to identify one of the LDM
module to log debug messages (0 means
all modules). The module ID is
embedded in the source code. Refer to
the source code to know the module ID
of a particular file.