summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-05-20 23:30:24 +0200
committerChuck Lever <chuck.lever@oracle.com>2020-05-20 23:30:24 +0200
commitfff1ebb269b6c18b21bc0ddab7dd8b0c5e68e0a1 (patch)
treefc858a1cc4ae34a1dc8ea56764cfa53d91cc19bd /include/trace
parentSUNRPC: Refactor svc_recvfrom() (diff)
downloadlinux-fff1ebb269b6c18b21bc0ddab7dd8b0c5e68e0a1.tar.xz
linux-fff1ebb269b6c18b21bc0ddab7dd8b0c5e68e0a1.zip
SUNRPC: Restructure svc_udp_recvfrom()
Clean up. At this point, we are not ready yet to support bio_vecs in the UDP transport implementation. However, we can clean up svc_udp_recvfrom() to match the tracing and straight-lining recently changes made in svc_tcp_recvfrom(). Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/sunrpc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/trace/events/sunrpc.h b/include/trace/events/sunrpc.h
index 81659876b4af..08c7d618ceb4 100644
--- a/include/trace/events/sunrpc.h
+++ b/include/trace/events/sunrpc.h
@@ -1501,6 +1501,8 @@ DECLARE_EVENT_CLASS(svcsock_class,
TP_ARGS(xprt, result))
DEFINE_SVCSOCK_EVENT(udp_send);
+DEFINE_SVCSOCK_EVENT(udp_recv);
+DEFINE_SVCSOCK_EVENT(udp_recv_err);
DEFINE_SVCSOCK_EVENT(tcp_send);
DEFINE_SVCSOCK_EVENT(tcp_recv);
DEFINE_SVCSOCK_EVENT(tcp_recv_eagain);