Quantize a probe only if it has a particular function in its stack.

Priyank Sanghavi priyanksanghavi92 at gmail.com
Thu Jun 18 00:21:25 UTC 2015


Hello,

I am currently working on dtrace on free-bsd. What I want to do is put a probe on uma_zalloc function and quantize its arguments.  But along with that I want to keep a condition to quantize ( or record the readings) only if the stack of that uma_zalloc has a function ( foo ) in it. —— This means, consider the readings of uma_zalloc only if it has come from the function foo. 

Is there a condition that can do that work?


-
Thanks,

Priyank.


More information about the freebsd-dtrace mailing list