would

fbt::foo:entry
{
        self->infoo=1;
}

fbt::foo:return
/self->infoo/
{
        self->infoo=0;
}

fbt::putnext:entry
/self->infoo/
{
        do what you need
}

do the trick for you?

-Angelo

On Jun 12, 2009, at 3:44 PM, rickey c weisner wrote:

In the kernel.
I am executing in function foo.

foo calls putnext.

I want a predicate that allows my
fbt::putnext:entry
to fire only when the parent is foo.

Any suggestions ?

I know about caller, but it is a PC. How do I tie that to foo ?

rick

--

Rickey C. Weisner
Software Development and Performance Specialist
Principal Field Technologist
Systems Quality Office
cell phone: 615-308-1147
email: rick.weis...@sun.com
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to