Satyanarayana Murty
2008-Jul-02 22:22 UTC
[dtrace-discuss] tcptop and tcpsnoop Script errors.
Am using the latest version of DtraceTool-kit 0.99 and getting these errors on the tcptop and tcptop_snv scripts. tcptop: tcp_q_g - Unknown Symbol Name. tcptop_snv :probe description fbt:ip:tcp_xchg:entry does not match any probes I have verified that the scripts are latest based on the dicusssion comments/updates on the forums with respect to the problem. Running it on a Solaris 5.10 x86pc machine. Any help to resolve this would be of great help. Thanks in advance, Murty -- This message posted from opensolaris.org
Samuel Bercovici
2009-Mar-19 19:50 UTC
[dtrace-discuss] tcptop and tcpsnoop Script errors.
After looking at the open Solaris source code for tcp_xmit_early_reset. You need to replace the following code: this->queuep = (queue_t *)`tcp_g_q; /* ` */ with this code: this->queuep = (queue_t *)((tcp_stack_t *)arg8)->tcps_g_q; Seams to work for me. -Sam. -- This message posted from opensolaris.org
Samuel Bercovici
2009-Mar-19 23:11 UTC
[dtrace-discuss] tcptop and tcpsnoop Script errors.
oops, need to be: this->queuep = (queue_t *)((tcp_stack_t *)args[7)->tcps_g_q; -Sam.> After looking at the open Solaris source code for > tcp_xmit_early_reset. You need to replace the > following code: > this->queuep = (queue_t *)`tcp_g_q; /* ` */ > > with this code: > this->queuep = (queue_t *)((tcp_stack_t > *)arg8)->tcps_g_q; > > Seams to work for me. > > -Sam.-- This message posted from opensolaris.org