macOS / binaries /

ktrace

/usr/bin/ktrace
Configure, record, and print events from kernel trace

ktrace can configure the system to trace events, or record them to a file, and print a human-readable representation of the events.

source: man