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>
This commit is contained in:

committed by
David S. Miller

parent
5941521c05
commit
e1a4aa50f4
@@ -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 */
|
||||
|
Reference in New Issue
Block a user