Hello, thanks for answer

I suspect the easiest way here is just to check that your credential in args[6] 
is non-null in a predicate.

yes, you would likely have to enable the probe twice -- once with a non-null
argument and once with a null argument (if required).

My problem is: The probe fbt:kernel:breadn_flags:entry should fire in the case args[6] == 0, the case args[6] != 0 works but is not important to me.

On FreeBSD head you can also use if-statements. :)

fbt:kernel:breadn_flags:entry
{
        if (args[6] != NULL) {
                ...
        } else {
                ...
        }
}

Does this mean, my problem is solved in head even with a better if-syntax and no chance in V10 ?


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-dtrace
To unsubscribe, send any mail to "[email protected]"

Reply via email to