Re: [dtrace-discuss] Unable to build a dtrace-enabled python

2009-04-14 Thread Ted Leung
Hi Robert, You can find a history of the 2.4, 2.5 and 2.6 versions of the Python DTrace patches in this bug: Ted Robert Diamond wrote: I've followed all the threads I could find, and many Google Red Herrings, so if it's an RTFM, please let me know which FM

Re: [dtrace-discuss] tcp listen backlog queue

2009-04-14 Thread Paul Mininni
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

Re: [dtrace-discuss] tcp listen backlog queue

2009-04-14 Thread Jim Mauro
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;

[dtrace-discuss] tcp listen backlog queue

2009-04-14 Thread Paul Mininni
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

Re: [dtrace-discuss] Any way to convert user addresses to symbol names?

2009-04-14 Thread Ryan
Never mind! ufunc() does exactly what I needed Ryan -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

[dtrace-discuss] Any way to convert user addresses to symbol names?

2009-04-14 Thread Ryan
Hi all, Is there any way to convert a user address to its corresponding symbol name? For kernel addresses printf("%a", addr) works nicely, but I can't find anything similar for userland except for ustack(), which is too inflexible (ie only the current stack frame is supported and you're stuck w