Know tracers mostly available at Linux

following are the tracers can be used for performance tuning and debugging in Linux
1) strace -- system call tracer
2) ltrace -- library tracer
3) ptrace -- Process tracer
4) ktrace -- kernel tracer originally developed for BSD, it has better performance than strace
5) dtrace -- dynamic tracer (hopefully ) can be used to tune both kernel and user application originally developed for Solaris
6) ftrace -- some times called as function tracer
7) btrace -- it is
dynamic tracing tool for the Java programs and it is used for debugging java programs
8) xtrace -- is used for X server, it is for displaying the communication between the clients and the server in an human readable form
9) rtrace -- is a program for image synthesis by the ray tracing method; rtrace traces rays from the standard input through the RADIANCE scene given by octree and sends the results to the standard output
10) mtrace -- in Linux, The mtrace interprets the output from when the MALLOC_TRACE environment variable is set. it is memory debugger included in GCC Lib
11) etrace -- is embedded ELF tracer

4 and 5 will not able available on all distro of linux

we can find lot of info at man pages ... if we know these programs you can refer in case of need

Comments

Popular posts from this blog

Kind of malware and Names for malicious code

List of bootloaders available on Unix like OS