Displaying 3 results from an estimated 3 matches for "dtrace_probe2".
2006 Mar 23
3
DTRACE_PROBE2() how to use it in the device driver code
Gurus,
I noticed in OpenSolaris kernel code some drivers use DTRACE_PROBE2() in the driver code, I wonder if there is any document to tell how to use it. Can I use DTRACE_PROBE2() to replace cmn_err()?
Thanks
john
This message posted from opensolaris.org
2007 May 13
1
provider for Macros!
Hi,
Was just wondering if there is any provider for Macros like we have pid provider for function calls?
Thanks,
Neelam
--
This message posted from opensolaris.org
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