fbt:kernel:breadn_flags:entry): invalid address (0x0) in action #7
Andreas Longwitz
longwitz at incore.de
Sun May 21 20:15:57 UTC 2017
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 ?
More information about the freebsd-dtrace
mailing list