Why trace the kernel?
Posted Jul 24, 2008 23:26 UTC (Thu) by
pr1268 (subscriber, #24648)
Parent article:
Tracing: no shortage of options
Forgive me for sounding ignorant, but why all the fuss about tracing the kernel? And more specifically, why is there DTrace "envy" (referring to a previous week's LWN article)?
My impressions are that in the Linux kernel, the code is already well-optimized and (relatively) error-free, so why is there such a demand as of late to insert all these probes like stuffing pins in a pincushion? Granted, I'm familiar with using tools like strace(1) (and similar tools, both open-source and proprietary), but I'm still unsure why this has become such an important issue with regards to the kernel lately.
And, what's the envy all about over Sun Microsystems' DTrace? Linux kernel devs are certainly capable of creating their own tracing tools (as this article explains).
Thanks in advance for any comments--I'm just trying to feed my curiosity by asking here.
(
Log in to post comments)