Jonathan Adams wrote:
# dtrace -n'
    fbt::kmem_alloc:return
    /((uintptr_t)caller - (uintptr_t)&`poll_common) < sizeof (`poll_common)/
    {stack()}
'

(replace kmem_alloc and poll_common with the functions of interest, of course)
Cheers,
- jonathan

Ah, very cool. Didn't know about caller.

Out of curiosity, why are you casting it ?

Thanks,
Rafael
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to