Analyzing Your System with Kernel Tracing
The instrumented kernel can gather a variety of events, including:
kernel calls
process manager activities
interrupts
scheduler changes
context switches
user-defined trace data