From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
Written in C
Operating system BSD Unix and Mac OS X
Available in English
Type Tracing

ktrace is a utility included with certain versions of BSD Unix and Mac OS X that traces kernel interaction with a program and dumps it to disk for debugging and analysis. It is somewhat similar to Linux's strace, except much faster - with strace, every system call executed by the program being traced requires context switch to the tracing program and back, while with ktrace, tracing is actually performed by the kernel, so no additional context switches are required.

Log files generated by ktrace[1] are viewable in human-readable form using kdump[2]

Since Mac OS X 10.5 Leopard, ktrace does not exist anymore and is replaced by dtrace.

See also


Personal tools

Served in 0.319 secs.