Hi DTrace folks,

I'm wondering what is the correct way to specify a bit-field value in 
the predicate, as I'm seeing different outputs for the following D 
commands: Note tcp_detached is a bit-field.

This one outputs numerous result:

# dtrace -n 
'::tcp_accept_finish:entry/((conn_t*)arg0)->conn_proto_priv.cp_tcp->tcp_detached/
[EMAIL PROTECTED]()]=count()}'

This one outputs nothing:

# dtrace -n 
'::tcp_accept_finish:entry/((conn_t*)arg0)->conn_proto_priv.cp_tcp->tcp_detached==1/
 
[EMAIL PROTECTED]()]=count()}'

Thank you very much!

- yxn
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to