Hey Jim-
If I change the script to this...
fbt::tcp_conn_request:entry
{
this->connp = (conn_t *)arg0;
@c[this->connp] = count();
this->tcpp = (tcp_t *)this->connp->conn_tcp;
@t[this->tcpp] = count();
}
The output shows this->tcpp are all 0. This doesn't seem correc
Hey Paul - Add this predicate;
/ arg0 != (conn_t *)0 /
Talk soon...
/jim
Paul Mininni wrote:
Hey everyone-
With this dtrace script;
#!/usr/sbin/dtrace -qs
#pragma D option aggsize=512k
#pragma D option bufsize=512k
fbt::tcp_conn_request:entry
{
this->connp = (conn_t *)arg0;
Hey everyone-
With this dtrace script;
#!/usr/sbin/dtrace -qs
#pragma D option aggsize=512k
#pragma D option bufsize=512k
fbt::tcp_conn_request:entry
{
this->connp = (conn_t *)arg0;
this->tcpp = (tcp_t *)this->connp->conn_tcp;
printf("tcp q: %d max: %d\n", this->tcpp->tc