Displaying 1 result from an estimated 1 matches for "dtrace_printf".
2007 May 10
3
printf type functionality from kernel sdt probes
Is there any way to get printf type functionality inside the kernel from dtrace probes. Basically I want to dump progress through flow in my device driver. Something like:
DTRACE_PRINTF("Inside chip reset, mailboxes %x %x %x %x %x %x %x %x", mb1, mb2, .....);
...
...
DTRACE_PRINTF("reset failed: reason %s", failure_reasons[err]);
I may have several such probes and they may change very frequently during the development. The dtrace script to enable these probe...