aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-04-30 17:43:40 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2015-04-30 17:43:40 +0000
commitbee68e940066f6376473d25d16ee896e7d9a0a0e (patch)
treee667eb5ec5f2fdb3fc1eb06a79d1e5cfaa185648
parented95805e90ec0f61683cd402a42e6f915339de7d (diff)
downloadsrc-bee68e940066f6376473d25d16ee896e7d9a0a0e.tar.gz
src-bee68e940066f6376473d25d16ee896e7d9a0a0e.zip
Move the SIFTR DTrace probe out of the writing thread context
and directly into the place where the data is collected.
Notes
Notes: svn path=/head/; revision=282276
-rw-r--r--sys/netinet/siftr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/siftr.c b/sys/netinet/siftr.c
index 69eb6395d854..6b31d7b6a8e5 100644
--- a/sys/netinet/siftr.c
+++ b/sys/netinet/siftr.c
@@ -549,7 +549,6 @@ siftr_process_pkt(struct pkt_node * pkt_node)
}
#endif
- TCP_PROBE1(siftr, pkt_node);
alq_post_flags(siftr_alq, log_buf, 0);
}
@@ -814,6 +813,8 @@ siftr_siftdata(struct pkt_node *pn, struct inpcb *inp, struct tcpcb *tp,
* maximum pps throughput processing when SIFTR is loaded and enabled.
*/
microtime(&pn->tval);
+ TCP_PROBE1(siftr, &pn);
+
}