3 ms·
is anyone aware of similar articles for any of the BSD flavors or other operating systems?
by pyvpx 12y ago
is anyone aware of similar articles for any of the BSD flavors or other operating systems?
- wmf 12y agoBrendan Gregg has written many articles and a few books about DTrace which is included in FreeBSD.
- brendangregg 12y agoDepends how similar. This article was specifically about kernel line number and local variable tracing, which I've only seen Linux do. If you mean general kernel debugging, then my book on DTrace covers multiple operating systems including FreeBSD, and has around a thousand pages of examples. It would be nice if DTrace could add kernel line number and local variable tracing. Recently I've seen FreeBSD kernel builds where inlining has become more common than I've seen in the past, and missing kernel functions is becoming a bit of a nuisance. It's generally possible to work around it, but it would be nice to just trace lines and variables if needed.