x
Loading
 Loading
Hello, Guest | Login | Register

Profiling and Tracing

Profiling helps find code bottlenecks. Trace tools provide the ability to extract and interpret details about code execution.

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.
OProfile is included in the 2.6 kernel. (If you’re using a 2.4 kernel, you will need to patch your sources with…

Please log in to view this content.

Not Yet a Member?

Register with LinuxMagazine.com and get free access to the entire archive, including:

  • Hands-on Content
  • White Papers
  • Community Features
  • And more.
Already a Member?
Log in!
Username

Password

Remember me

Forgotten your password?
Forgotten your username?
Read More
  1. Helpful Tools for Software Developers
  2. The Github Hall of Fame
  3. Book'em, Github.
  4. This Week on Github: Stupid Ruby Tricks
  5. A Veritable Scatter Shot!
Follow Linux Magazine
Rackspace