Merge tag 'net-next-6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev...
[sfrench/cifs-2.6.git] / net / sunrpc / svcsock.c
index 91252adcae4696e23e960bdaa22692141c43032e..8bcc8c3ffbfe59c3e43dddc0db374c0d370dfd6b 100644 (file)
@@ -55,6 +55,7 @@
 #include <linux/sunrpc/stats.h>
 #include <linux/sunrpc/xprt.h>
 
+#include <trace/events/sock.h>
 #include <trace/events/sunrpc.h>
 
 #include "socklib.h"
@@ -307,6 +308,8 @@ static void svc_data_ready(struct sock *sk)
 {
        struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
 
+       trace_sk_data_ready(sk);
+
        if (svsk) {
                /* Refer to svc_setup_socket() for details. */
                rmb();
@@ -684,6 +687,8 @@ static void svc_tcp_listen_data_ready(struct sock *sk)
 {
        struct svc_sock *svsk = (struct svc_sock *)sk->sk_user_data;
 
+       trace_sk_data_ready(sk);
+
        if (svsk) {
                /* Refer to svc_setup_socket() for details. */
                rmb();