ktrace is described as 'The ktrace utility enables kernel trace logging for the specified processes. Kernel trace data is logged to the file ktrace.out. The kernel operations that are traced include system calls, namei translations, signal processing, and I/O' and is an app in the Development category. There are seven alternatives to ktrace for Linux, BSD, FreeBSD, Mac and Solaris. The best alternative is ftrace, which is both free and Open Source. Other great apps like ktrace are strace (Free, Open Source), DTrace (Free, Open Source), ltrace (Free, Open Source) and perf (Free, Open Source).
strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state.
ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. It can also intercept and print the system calls executed by the program. Used for debugging.
perf is a performance analyzing tool in Linux, available from Linux kernel version 2.6.31 under tools/perf, and is frequently updated and enhanced. It is capable of lightweight profiling, supports hardware performance counters, tracepoints, software performance counters (e.g.