Skip to content

Instantly share code, notes, and snippets.

@postwait
Created September 17, 2013 20:56
Show Gist options
  • Select an option

  • Save postwait/6600515 to your computer and use it in GitHub Desktop.

Select an option

Save postwait/6600515 to your computer and use it in GitHub Desktop.
# dtrace -q -n 'fbt::tcp_send_rst_chk:entry{self->tcps = (tcp_stack_t *)arg0;} fbt::tcp_send_rst_chk:return/self->tcps/{printf("%s/%p -> %d < %d -> %d\n", zonename, self->tcps, self->tcps->tcps_rst_cnt, self->tcps->tcps_propinfo_tbl[53].u.mpi_uval.mod_propval_ucur, arg1); self->tcps=0; stack();}'
global/ffffff5150d1d400 -> 43 < 40 -> 0
ip`tcp_xmit_early_reset+0x73
ip`tcp_xmit_listeners_reset+0x239
ip`ip_fanout_v4+0xa22
ip`ip_input_local_v4+0x16e
ip`ire_recv_local_v4+0x132
ip`ill_input_short_v4+0x4d6
ip`ip_input_common_v4+0x372
ip`ip_input+0x2b
dls`i_dls_link_rx+0x1cd
mac`mac_rx_deliver+0x37
mac`mac_rx_soft_ring_process+0x19a
mac`mac_rx_srs_proto_fanout+0x29a
mac`mac_rx_srs_drain+0x363
mac`mac_rx_srs_process+0x3ce
mac`mac_rx_classify+0x129
mac`mac_rx_flow+0x63
mac`mac_rx_common+0x196
mac`mac_rx+0xb6
mac`mac_rx_ring+0x2b
aggr`aggr_mac_rx+0x25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment