Opensource Linux Tools for debugging and performance measurements

Opensource Linux Tools for debugging and performance measurements

Kernel Debugging


1) printks – dmesg

2) proc file system

3) gdb



4) kgdb

Kernel Tracing


1) Function trace


2) System Tap




1) GDB –
2) System call tracer – “strace”
3) ltrace – A tool to trace library calls used by a program and all the signals it receives

Power Management



PowerTOP is a Linux tool that helps you find those programs that are misbehaving while your computer is idle.

Memory leak & memory checking


1) Memory allocation checker

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )


2) Detect Unintended Memory Access

3) Valgrind –

4) smem memory reporting tool

5) kpagemap – Can show details about every allocated and virtual page on the system.

Related :   Using GDB to debug functions defined in another file in C



1) Splint –

Splint is a tool for statically checking C programs for security vulnerabilities and coding mistakes. With minimal effort, Splint can be used as a better lint. If additional effort is invested adding annotations to programs, Splint can perform stronger checking than can be done by any standard lint.



1) Oprofile –

OProfile is a system-wide profiler for Linux systems, capable of profiling all

running code at low overhead.

Frontend tools and IDE’s


1) Data Display Debugger –

graphical front-end for command-line debuggers such as GDB, DBX,

WDB, Ladebug, JDB, XDB, the Perl debugger, the bash debugger bashdb,

the GNU Make debugger remake, or the Python debugger pydb.

2) Alleyoop –

This is a graphical front-end for valgrind.

Reference’s –



Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded