summaryrefslogtreecommitdiff
path: root/include/trace/events/mptcp.h
diff options
context:
space:
mode:
authorGeliang Tang <geliang.tang@suse.com>2022-03-07 23:44:31 +0300
committerJakub Kicinski <kuba@kernel.org>2022-03-09 09:06:10 +0300
commit0eb4e7ee1655b7ffd3204a35d77b809d42613cb9 (patch)
treeea95f204a1945677104f62279ccf62e3b0989efc /include/trace/events/mptcp.h
parentd307eab593b283849c13703ca3fd6a5b3908d6f8 (diff)
downloadlinux-0eb4e7ee1655b7ffd3204a35d77b809d42613cb9.tar.xz
mptcp: add tracepoint in mptcp_sendmsg_frag
The tracepoint in get_mapping_status() only dumped the incoming mpext fields. This patch added a new tracepoint in mptcp_sendmsg_frag() to dump the outgoing mpext too. Signed-off-by: Geliang Tang <geliang.tang@suse.com> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/trace/events/mptcp.h')
-rw-r--r--include/trace/events/mptcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/trace/events/mptcp.h b/include/trace/events/mptcp.h
index 6bf43176f14c..f8e28e686c65 100644
--- a/include/trace/events/mptcp.h
+++ b/include/trace/events/mptcp.h
@@ -115,6 +115,10 @@ DECLARE_EVENT_CLASS(mptcp_dump_mpext,
__entry->csum_reqd)
);
+DEFINE_EVENT(mptcp_dump_mpext, mptcp_sendmsg_frag,
+ TP_PROTO(struct mptcp_ext *mpext),
+ TP_ARGS(mpext));
+
DEFINE_EVENT(mptcp_dump_mpext, get_mapping_status,
TP_PROTO(struct mptcp_ext *mpext),
TP_ARGS(mpext));