svn commit: r279754 - head/share/dtrace

George V. Neville-Neil gnn at FreeBSD.org
Sat Mar 7 21:28:38 UTC 2015


Author: gnn
Date: Sat Mar  7 21:28:37 2015
New Revision: 279754
URL: https://svnweb.freebsd.org/changeset/base/279754

Log:
  Add execute bits to tcpstate script.

Modified:
  head/share/dtrace/tcpstate

Modified: head/share/dtrace/tcpstate
==============================================================================
--- head/share/dtrace/tcpstate	Sat Mar  7 20:49:32 2015	(r279753)
+++ head/share/dtrace/tcpstate	Sat Mar  7 21:28:37 2015	(r279754)
@@ -41,6 +41,6 @@ tcp:kernel::state-change
 {
 	newstate = args[3]->tcps_state;
 	oldstate = args[5]->tcps_state;
-	printf("%s\t\t%s\n", tcp_state_string[oldstate],
+	printf("%d %s\t\t%s\n", args[1]->pid, tcp_state_string[oldstate],
 			     tcp_state_string[newstate]);
 }


More information about the svn-src-head mailing list