svn commit: r282276 - head/sys/netinet

George V. Neville-Neil gnn at FreeBSD.org
Thu Apr 30 17:43:41 UTC 2015


Author: gnn
Date: Thu Apr 30 17:43:40 2015
New Revision: 282276
URL: https://svnweb.freebsd.org/changeset/base/282276

Log:
  Move the SIFTR DTrace probe out of the writing thread context
  and directly into the place where the data is collected.

Modified:
  head/sys/netinet/siftr.c

Modified: head/sys/netinet/siftr.c
==============================================================================
--- head/sys/netinet/siftr.c	Thu Apr 30 16:08:47 2015	(r282275)
+++ head/sys/netinet/siftr.c	Thu Apr 30 17:43:40 2015	(r282276)
@@ -549,7 +549,6 @@ siftr_process_pkt(struct pkt_node * pkt_
 	}
 #endif
 
-	TCP_PROBE1(siftr, pkt_node);
 	alq_post_flags(siftr_alq, log_buf, 0);
 }
 
@@ -814,6 +813,8 @@ siftr_siftdata(struct pkt_node *pn, stru
 	 * maximum pps throughput processing when SIFTR is loaded and enabled.
 	 */
 	microtime(&pn->tval);
+	TCP_PROBE1(siftr, &pn);
+
 }
 
 


More information about the svn-src-head mailing list