Date: Thu, 30 Apr 2015 17:43:41 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r282276 - head/sys/netinet Message-ID: <201504301743.t3UHhf4j053056@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504301743.t3UHhf4j053056>