Hello dtrace gurus,

Is it possible to put DTRACE_PROBEs in a driver attach routine, and 
expect to see them show up when running a dtrace script to trigger them 
(which incidentally causes the driver to be modload-ed)?

I'm trying to change all of the funky con_log() calls in the mega_sas 
driver to use DTRACE_PROBEs, but I'm wondering if this will really work 
for attach.  I do see the probes from other non-attach mega_sas function 
calls after the driver attaches, but not the probes from during 
megasas_attach. Maybe I need to retain the logging code for the 
attach/detach routines?

I would appreciate your expert advice.

Thanks,
-Susan
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to