Ktrace
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
- trace on linux, part of the Linux Trace Toolkit
- Dtrace, Sun's trace version, now running on OpenSolaris, FreeBSD and Leopard
- SystemTap
References
Stub icon | This Mac OS and/or Mac OS X software-related article is a stub. You can help Wikipedia by expanding it. |
If you like SEOmastering Site, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...