Profiling and Tracing
Profiling helps find code bottlenecks. Trace tools provide the ability to extract and interpret details about code execution.
Monday, August 15th, 2005
Last month’s column showed you how to use debuggers to debug kernel code. This month, let’s look a bunch of other tools you should have in your Linux kernel debugging repertoire.
Kernel Profiling using OProfile
A profiler identifies those portions of code that burn more CPU cycles. Profilers come in different flavors. The OProfile kernel profiler uses hardware assist to gather profile data, while the gprof application profiler relies on compiler assist to collect profile information.