HP-UX 11i Version 1.5 Kernel Logging

Kernel Logging
Instrumenting Kernel Subsystems for Kernel Logging
Chapter 1 9
The $set
n ...
line signals the beginning a new set of messages, and only needs to
be added if
subsystem_ID
is a new one.
Step 3. Add a new
n message
line for each new instrumentation point you have
introduced. The following example messages are from the Machine Check (KL_MC)
subsystem;
$set525 KL_MC
1000 Machine Check Abort (MCA occurred)
2000 Corrected Machine Check (CMC) occurred
3000 System Abstraction Layer (SAL) returned unexpected Error Record (%s)
3001 Memory SBE address FIFO is full. Address 0x%01611x cannot be queued
5000 Error Record obtained from System Abstraction Layer (SAL)
6000 Bus check occurred. check info: 0x%01611x req: 0x1611x res: 0x%1611x tgt: 0x%01611x \
ip: 0x%01611x
Step 4. Be in the /ux/core/lan/src/NETTRACELOG/format directory, and issue the
following command to build the message catalog:
clearmake all
When the compilation is complete, the KL message catalog file,
/ux/core/lan/obj/locales/NETTRACE/format/klfmt.cat, will include your
messages.
Step 5. Copy the klfmt.cat file to the following directory on the target machine:
/usr/lib/nls/C