diff options
author | Geliang Tang <geliang.tang@suse.com> | 2022-03-07 21:44:31 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-03-09 07:06:10 +0100 |
commit | 0eb4e7ee1655b7ffd3204a35d77b809d42613cb9 (patch) | |
tree | ea95f204a1945677104f62279ccf62e3b0989efc /include/trace/events/mptcp.h | |
parent | Merge branch 'net-phy-lan87xx-use-genphy_read_master_slave-function' (diff) | |
download | linux-0eb4e7ee1655b7ffd3204a35d77b809d42613cb9.tar.xz linux-0eb4e7ee1655b7ffd3204a35d77b809d42613cb9.zip |
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.h | 4 |
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)); |