mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-18 02:46:06 +00:00
mptcp: dump infinite_map field in mptcp_dump_mpext
In trace event class mptcp_dump_mpext, dump the newly added infinite_map field of struct mptcp_dump_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: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
104125b82e
commit
d9fdd02d42
@ -84,6 +84,7 @@ DECLARE_EVENT_CLASS(mptcp_dump_mpext,
|
||||
__field(u8, reset_transient)
|
||||
__field(u8, reset_reason)
|
||||
__field(u8, csum_reqd)
|
||||
__field(u8, infinite_map)
|
||||
),
|
||||
|
||||
TP_fast_assign(
|
||||
@ -102,9 +103,10 @@ DECLARE_EVENT_CLASS(mptcp_dump_mpext,
|
||||
__entry->reset_transient = mpext->reset_transient;
|
||||
__entry->reset_reason = mpext->reset_reason;
|
||||
__entry->csum_reqd = mpext->csum_reqd;
|
||||
__entry->infinite_map = mpext->infinite_map;
|
||||
),
|
||||
|
||||
TP_printk("data_ack=%llu data_seq=%llu subflow_seq=%u data_len=%u csum=%x use_map=%u dsn64=%u data_fin=%u use_ack=%u ack64=%u mpc_map=%u frozen=%u reset_transient=%u reset_reason=%u csum_reqd=%u",
|
||||
TP_printk("data_ack=%llu data_seq=%llu subflow_seq=%u data_len=%u csum=%x use_map=%u dsn64=%u data_fin=%u use_ack=%u ack64=%u mpc_map=%u frozen=%u reset_transient=%u reset_reason=%u csum_reqd=%u infinite_map=%u",
|
||||
__entry->data_ack, __entry->data_seq,
|
||||
__entry->subflow_seq, __entry->data_len,
|
||||
__entry->csum, __entry->use_map,
|
||||
@ -112,7 +114,7 @@ DECLARE_EVENT_CLASS(mptcp_dump_mpext,
|
||||
__entry->use_ack, __entry->ack64,
|
||||
__entry->mpc_map, __entry->frozen,
|
||||
__entry->reset_transient, __entry->reset_reason,
|
||||
__entry->csum_reqd)
|
||||
__entry->csum_reqd, __entry->infinite_map)
|
||||
);
|
||||
|
||||
DEFINE_EVENT(mptcp_dump_mpext, mptcp_sendmsg_frag,
|
||||
|
Loading…
x
Reference in New Issue
Block a user