summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorSong Liu <songliubraving@fb.com>2017-10-23 18:20:26 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-24 02:21:25 +0200
commite1a4aa50f47303ebb3ca0cfd01687884551ce03d (patch)
tree562978cf86bbabb983e1e1f2256db9e124063899 /include/trace
parenttcp: add tracepoint trace_tcp_receive_reset (diff)
downloadlinux-e1a4aa50f47303ebb3ca0cfd01687884551ce03d.tar.xz
linux-e1a4aa50f47303ebb3ca0cfd01687884551ce03d.zip
tcp: add tracepoint trace_tcp_destroy_sock
This patch adds trace event trace_tcp_destroy_sock. Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/tcp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/trace/events/tcp.h b/include/trace/events/tcp.h
index c83c71187719..1724c12c25cf 100644
--- a/include/trace/events/tcp.h
+++ b/include/trace/events/tcp.h
@@ -154,6 +154,13 @@ DEFINE_EVENT(tcp_event_sk, tcp_receive_reset,
TP_ARGS(sk)
);
+DEFINE_EVENT(tcp_event_sk, tcp_destroy_sock,
+
+ TP_PROTO(const struct sock *sk),
+
+ TP_ARGS(sk)
+);
+
#endif /* _TRACE_TCP_H */
/* This part must be outside protection */