[dtrace-discuss] Can dtrace match on parameter type on entry?
Darren Reed
Darren.Reed at Sun.COM
Wed Mar 19 18:50:59 PDT 2008
As dtrace uses C type information stored in the object
files, which we can use with args[#] and printing, is
it possible to use this for matching? (via an enhancement.)
So, could it be possible to do:
dtrace -n 'fbt:::entry/mblk_t* == 0x3a0a0a0a0a0/{}'
What this would do is:
* find all of the functions that have an "mblk_t *" in
their parameter list;
* find out which positions in the parameter list the
mblk_t* is and
* match against all parameters that are mblk_t*'s with
0x3a0a0a0a0a0.
Thoughts?
Am I crazy for imagining this?
Or is it already an RFE somewhere?
Darren
More information about the dtrace-discuss
mailing list