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

Reference’s

  1.         http://www.linuxjournal.com/article/9252
  2.         http://www.ibm.com/developerworks/linux/library/l-debug/

4) kgdb

 

Kernel Tracing

============

1) Function trace

Referencehttp://elinux.org/Ftrace_Function_Graph_ARM

http://www.vimeo.com/8042326

sourceforge.net/projects/lkst/

2) System Tap

Referencehttp://lwn.net/Articles/353842/

 

Application

=========

1) GDB – http://www.gnu.org/software/gdb/

http://en.wikipedia.org/wiki/Gdb

2) System call tracer – “strace”

http://sourceforge.net/projects/strace/

3) ltrace – A tool to trace library calls used by a program and all the signals it receives

http://www.ltrace.org/

 

Power Management

===============

1) powertop –

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 – http://hald.dnsalias.net/projects/memcheck/

2) Detect Unintended Memory Access

3) Valgrind – http://valgrind.org/

4) smem memory reporting tool

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

Reference’s –

http://selenic.com/repo/pagemap/raw-file/tip/memory-profiling.html#%281%29

http://lwn.net/Articles/230975/

http://selenic.com/repo/pagemap

Security

=======

1) Splint – http://splint.org/

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.

 

Profiler

======

1) Oprofile –  http://oprofile.sourceforge.net/news/

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,

Related :   C application test code for reading any Sysfs file in Linux

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

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

 

2) Alleyoop – http://alleyoop.sourceforge.net/

This is a graphical front-end for valgrind.

 

Reference’s –

1) http://free-electrons.com/doc/application-development.pdf

2) http://www.embeddedlinuxconference.com/

Android Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question