Hi, I'm a nub in dtrace, could you please help me to find the mistake?
I need to implement the logic: - if PID and TID are defined, fire the probe for the particular thread of particular process; - if only PID is defined, fire the probe for the process including all threads. The predicat [i]syscall:::entry / (pid == PID && tid == TID )[/i] / works ok and return syscall for PID/TID process only. Then I set a predicat: [i] syscall:::entry /(pid == PID && tid == TID) || pid == PID/[/i] and it works for the whole process, as if I set only / pid == PID/. What am I missing? Thanks in advance. -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org