This is for a driver, so it would be kernel. I''m looking to replace
(update, really) the use of TNF probes. They are used in the module
mostly to trace entry and exit, which I will just remove as one can use
FBT, and also used to trace errors. So, maybe I will just revert to
cmn_err() calls to indicate reasons for failure, and use SDT probes for
points of interest, as James had suggested.
Just let me know if that doesn''t make sense, otherwise off I go...
Thanks,
Jesse
Adam Leventhal wrote:> Hey Jesse,
>
> Are you using kernel or user-land SDT? Both let you pass strings to them.
>
> Adam
>
> On Fri, Sep 08, 2006 at 12:01:46PM -0400, Jesse Butler wrote:
>
>> Is there a suggested way (or is it even possible) to pass a string to a
>> DTRACE_PROBE function, like could be done with TNF_PROBE functions? I
am
>> interested in using Dtrace to dump error conditions whilst debugging.
>>
>> Thanks,
>> Jesse
>> _______________________________________________
>> dtrace-discuss mailing list
>> dtrace-discuss at opensolaris.org
>>
>
>