rickey c weisner writes:
> 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 ?

fbt::foo:entry
{
        self->flag++;
}

fbt::putnext:entry
/self->flag/
{
        printf("hi there");
}

fbt::foo:return
{
        self->flag--;
}

-- 
James Carlson, Solaris Networking              <james.d.carl...@sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to