Tracing provides insight into behavioral problems that manifest during interactions between different code modules. A common way to obtain execution traces is by using
printk is perhaps the most heavily used method for kernel debugging (there are more than 62,000
printk() statements in the 2.6.23 source tree), it is not sophisticated enough for high-volume tracing. Linux Trace Toolkit (LTT) is a powerful tool that lets you obtain complex system level traces with minimum overhead.
LTT extracts execution traces that are useful for postmortem analyses and is valuable in situations where it might not be possible to use a debugger. Unlike OProfile, which collects data by ...