Opensource Linux Tools for debugging and performance measurements
1) printks – dmesg
2) proc file system
1) Function trace
Reference – http://elinux.org/Ftrace_Function_Graph_ARM
2) System Tap
Reference – http://lwn.net/Articles/353842/
1) GDB – http://www.gnu.org/software/gdb/
2) System call tracer – “strace”
3) ltrace – A tool to trace library calls used by a program and all the signals it receives
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/
3) Valgrind – http://valgrind.org/
5) kpagemap – Can show details about every allocated and virtual page on the system.
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.
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
2) Alleyoop – http://alleyoop.sourceforge.net/
This is a graphical front-end for valgrind.