HP-UX 11i Version 1.5 Kernel Logging
Kernel Logging
Using Kernel Logging
Chapter 1 15
Kernel Logging Manual Pages
NAME
KL_LOG_INFO(), KL_LOG_STR(), KL_LOG_DATA() – Kernel Logging Macros
Synopsis
KL_LOG_INFO (
unsigned short evt,
short cl,
unsigned short ss,
unsigned long p0, p1, p2, p3, p4
);
KL_LOG_STR (
unsigned short evt,
short cl,
unsigned short ss,
char *cp
);
KL_LOG_DATA (
unsigned short evt,
short cl,
unsigned short ss,
caddr_t dp,
int len
);
Parameters
evt evt is the ID of the event which triggered the instrumentation point to be
executed. It will be cast to type unsigned short.
cl cl is the class (severity) of the event.It will be cast to type short. cl can be
one of the following:
DISASTER The DISASTER class signals an event or condition which
affects the operation of an entire subsystem, or the kernel,
causing several programs to fail or the machine to panic
ERROR The ERROR class signals an event or condition which does
not affect the overall operation of an entire subsystem, but
may cause an application to fail.