~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/trace/events/rxrpc.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/trace/events/rxrpc.h (Version linux-6.12-rc7) and /include/trace/events/rxrpc.h (Version linux-5.16.20)


  1 /* SPDX-License-Identifier: GPL-2.0-or-later *      1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /* AF_RXRPC tracepoints                             2 /* AF_RXRPC tracepoints
  3  *                                                  3  *
  4  * Copyright (C) 2016 Red Hat, Inc. All Rights      4  * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved.
  5  * Written by David Howells (dhowells@redhat.c      5  * Written by David Howells (dhowells@redhat.com)
  6  */                                                 6  */
  7 #undef TRACE_SYSTEM                                 7 #undef TRACE_SYSTEM
  8 #define TRACE_SYSTEM rxrpc                          8 #define TRACE_SYSTEM rxrpc
  9                                                     9 
 10 #if !defined(_TRACE_RXRPC_H) || defined(TRACE_     10 #if !defined(_TRACE_RXRPC_H) || defined(TRACE_HEADER_MULTI_READ)
 11 #define _TRACE_RXRPC_H                             11 #define _TRACE_RXRPC_H
 12                                                    12 
 13 #include <linux/tracepoint.h>                      13 #include <linux/tracepoint.h>
 14 #include <linux/errqueue.h>                        14 #include <linux/errqueue.h>
 15                                                    15 
 16 /*                                                 16 /*
 17  * Declare tracing information enums and their !!  17  * Define enums for tracing information.
                                                   >>  18  *
                                                   >>  19  * These should all be kept sorted, making it easier to match the string
                                                   >>  20  * mapping tables further on.
 18  */                                                21  */
 19 #define rxrpc_abort_reasons \                  !!  22 #ifndef __RXRPC_DECLARE_TRACE_ENUMS_ONCE_ONLY
 20         /* AFS errors */                       !!  23 #define __RXRPC_DECLARE_TRACE_ENUMS_ONCE_ONLY
 21         EM(afs_abort_general_error,            !!  24 
 22         EM(afs_abort_interrupted,              !!  25 enum rxrpc_skb_trace {
 23         EM(afs_abort_oom,                      !!  26         rxrpc_skb_cleaned,
 24         EM(afs_abort_op_not_supported,         !!  27         rxrpc_skb_freed,
 25         EM(afs_abort_probeuuid_negative,       !!  28         rxrpc_skb_got,
 26         EM(afs_abort_send_data_error,          !!  29         rxrpc_skb_lost,
 27         EM(afs_abort_unmarshal_error,          !!  30         rxrpc_skb_new,
 28         /* rxperf errors */                    !!  31         rxrpc_skb_purged,
 29         EM(rxperf_abort_general_error,         !!  32         rxrpc_skb_received,
 30         EM(rxperf_abort_oom,                   !!  33         rxrpc_skb_rotated,
 31         EM(rxperf_abort_op_not_supported,      !!  34         rxrpc_skb_seen,
 32         EM(rxperf_abort_unmarshal_error,       !!  35         rxrpc_skb_unshared,
 33         /* RxKAD security errors */            !!  36         rxrpc_skb_unshared_nomem,
 34         EM(rxkad_abort_1_short_check,          !!  37 };
 35         EM(rxkad_abort_1_short_data,           !!  38 
 36         EM(rxkad_abort_1_short_encdata,        !!  39 enum rxrpc_local_trace {
 37         EM(rxkad_abort_1_short_header,         !!  40         rxrpc_local_got,
 38         EM(rxkad_abort_2_short_check,          !!  41         rxrpc_local_new,
 39         EM(rxkad_abort_2_short_data,           !!  42         rxrpc_local_processing,
 40         EM(rxkad_abort_2_short_header,         !!  43         rxrpc_local_put,
 41         EM(rxkad_abort_2_short_len,            !!  44         rxrpc_local_queued,
 42         EM(rxkad_abort_bad_checksum,           !!  45 };
 43         EM(rxkad_abort_chall_key_expired,      !!  46 
 44         EM(rxkad_abort_chall_level,            !!  47 enum rxrpc_peer_trace {
 45         EM(rxkad_abort_chall_no_key,           !!  48         rxrpc_peer_got,
 46         EM(rxkad_abort_chall_short,            !!  49         rxrpc_peer_new,
 47         EM(rxkad_abort_chall_version,          !!  50         rxrpc_peer_processing,
 48         EM(rxkad_abort_resp_bad_callid,        !!  51         rxrpc_peer_put,
 49         EM(rxkad_abort_resp_bad_checksum,      !!  52 };
 50         EM(rxkad_abort_resp_bad_param,         !!  53 
 51         EM(rxkad_abort_resp_call_ctr,          !!  54 enum rxrpc_conn_trace {
 52         EM(rxkad_abort_resp_call_state,        !!  55         rxrpc_conn_got,
 53         EM(rxkad_abort_resp_key_expired,       !!  56         rxrpc_conn_new_client,
 54         EM(rxkad_abort_resp_key_rejected,      !!  57         rxrpc_conn_new_service,
 55         EM(rxkad_abort_resp_level,             !!  58         rxrpc_conn_put_client,
 56         EM(rxkad_abort_resp_nokey,             !!  59         rxrpc_conn_put_service,
 57         EM(rxkad_abort_resp_ooseq,             !!  60         rxrpc_conn_queued,
 58         EM(rxkad_abort_resp_short,             !!  61         rxrpc_conn_reap_service,
 59         EM(rxkad_abort_resp_short_tkt,         !!  62         rxrpc_conn_seen,
 60         EM(rxkad_abort_resp_tkt_aname,         !!  63 };
 61         EM(rxkad_abort_resp_tkt_expired,       !!  64 
 62         EM(rxkad_abort_resp_tkt_future,        !!  65 enum rxrpc_client_trace {
 63         EM(rxkad_abort_resp_tkt_inst,          !!  66         rxrpc_client_activate_chans,
 64         EM(rxkad_abort_resp_tkt_len,           !!  67         rxrpc_client_alloc,
 65         EM(rxkad_abort_resp_tkt_realm,         !!  68         rxrpc_client_chan_activate,
 66         EM(rxkad_abort_resp_tkt_short,         !!  69         rxrpc_client_chan_disconnect,
 67         EM(rxkad_abort_resp_tkt_sinst,         !!  70         rxrpc_client_chan_pass,
 68         EM(rxkad_abort_resp_tkt_sname,         !!  71         rxrpc_client_chan_wait_failed,
 69         EM(rxkad_abort_resp_unknown_tkt,       !!  72         rxrpc_client_cleanup,
 70         EM(rxkad_abort_resp_version,           !!  73         rxrpc_client_discard,
 71         /* rxrpc errors */                     !!  74         rxrpc_client_duplicate,
 72         EM(rxrpc_abort_call_improper_term,     !!  75         rxrpc_client_exposed,
 73         EM(rxrpc_abort_call_reset,             !!  76         rxrpc_client_replace,
 74         EM(rxrpc_abort_call_sendmsg,           !!  77         rxrpc_client_to_active,
 75         EM(rxrpc_abort_call_sock_release,      !!  78         rxrpc_client_to_idle,
 76         EM(rxrpc_abort_call_sock_release_tba,  !!  79 };
 77         EM(rxrpc_abort_call_timeout,           !!  80 
 78         EM(rxrpc_abort_no_service_key,         !!  81 enum rxrpc_call_trace {
 79         EM(rxrpc_abort_nomem,                  !!  82         rxrpc_call_connected,
 80         EM(rxrpc_abort_service_not_offered,    !!  83         rxrpc_call_error,
 81         EM(rxrpc_abort_shut_down,              !!  84         rxrpc_call_got,
 82         EM(rxrpc_abort_unsupported_security,   !!  85         rxrpc_call_got_kernel,
 83         EM(rxrpc_badmsg_bad_abort,             !!  86         rxrpc_call_got_timer,
 84         EM(rxrpc_badmsg_bad_jumbo,             !!  87         rxrpc_call_got_userid,
 85         EM(rxrpc_badmsg_short_ack,             !!  88         rxrpc_call_new_client,
 86         EM(rxrpc_badmsg_short_ack_trailer,     !!  89         rxrpc_call_new_service,
 87         EM(rxrpc_badmsg_short_hdr,             !!  90         rxrpc_call_put,
 88         EM(rxrpc_badmsg_unsupported_packet,    !!  91         rxrpc_call_put_kernel,
 89         EM(rxrpc_badmsg_zero_call,             !!  92         rxrpc_call_put_noqueue,
 90         EM(rxrpc_badmsg_zero_seq,              !!  93         rxrpc_call_put_notimer,
 91         EM(rxrpc_badmsg_zero_service,          !!  94         rxrpc_call_put_timer,
 92         EM(rxrpc_eproto_ackr_outside_window,   !!  95         rxrpc_call_put_userid,
 93         EM(rxrpc_eproto_ackr_sack_overflow,    !!  96         rxrpc_call_queued,
 94         EM(rxrpc_eproto_ackr_short_sack,       !!  97         rxrpc_call_queued_ref,
 95         EM(rxrpc_eproto_ackr_zero,             !!  98         rxrpc_call_release,
 96         EM(rxrpc_eproto_bad_upgrade,           !!  99         rxrpc_call_seen,
 97         EM(rxrpc_eproto_data_after_last,       !! 100 };
 98         EM(rxrpc_eproto_different_last,        !! 101 
 99         EM(rxrpc_eproto_early_reply,           !! 102 enum rxrpc_transmit_trace {
100         EM(rxrpc_eproto_improper_term,         !! 103         rxrpc_transmit_await_reply,
101         EM(rxrpc_eproto_no_client_call,        !! 104         rxrpc_transmit_end,
102         EM(rxrpc_eproto_no_client_conn,        !! 105         rxrpc_transmit_queue,
103         EM(rxrpc_eproto_no_service_call,       !! 106         rxrpc_transmit_queue_last,
104         EM(rxrpc_eproto_reupgrade,             !! 107         rxrpc_transmit_rotate,
105         EM(rxrpc_eproto_rxnull_challenge,      !! 108         rxrpc_transmit_rotate_last,
106         EM(rxrpc_eproto_rxnull_response,       !! 109         rxrpc_transmit_wait,
107         EM(rxrpc_eproto_tx_rot_last,           !! 110 };
108         EM(rxrpc_eproto_unexpected_ack,        !! 111 
109         EM(rxrpc_eproto_unexpected_ackall,     !! 112 enum rxrpc_receive_trace {
110         EM(rxrpc_eproto_unexpected_implicit_en !! 113         rxrpc_receive_end,
111         EM(rxrpc_eproto_unexpected_reply,      !! 114         rxrpc_receive_front,
112         EM(rxrpc_eproto_wrong_security,        !! 115         rxrpc_receive_incoming,
113         EM(rxrpc_recvmsg_excess_data,          !! 116         rxrpc_receive_queue,
114         EM(rxrpc_recvmsg_short_data,           !! 117         rxrpc_receive_queue_last,
115         E_(rxrpc_sendmsg_late_send,            !! 118         rxrpc_receive_rotate,
116                                                !! 119 };
117 #define rxrpc_call_poke_traces \               !! 120 
118         EM(rxrpc_call_poke_abort,              !! 121 enum rxrpc_recvmsg_trace {
119         EM(rxrpc_call_poke_complete,           !! 122         rxrpc_recvmsg_cont,
120         EM(rxrpc_call_poke_error,              !! 123         rxrpc_recvmsg_data_return,
121         EM(rxrpc_call_poke_idle,               !! 124         rxrpc_recvmsg_dequeue,
122         EM(rxrpc_call_poke_set_timeout,        !! 125         rxrpc_recvmsg_enter,
123         EM(rxrpc_call_poke_start,              !! 126         rxrpc_recvmsg_full,
124         EM(rxrpc_call_poke_timer,              !! 127         rxrpc_recvmsg_hole,
125         E_(rxrpc_call_poke_timer_now,          !! 128         rxrpc_recvmsg_next,
                                                   >> 129         rxrpc_recvmsg_requeue,
                                                   >> 130         rxrpc_recvmsg_return,
                                                   >> 131         rxrpc_recvmsg_terminal,
                                                   >> 132         rxrpc_recvmsg_to_be_accepted,
                                                   >> 133         rxrpc_recvmsg_wait,
                                                   >> 134 };
                                                   >> 135 
                                                   >> 136 enum rxrpc_rtt_tx_trace {
                                                   >> 137         rxrpc_rtt_tx_cancel,
                                                   >> 138         rxrpc_rtt_tx_data,
                                                   >> 139         rxrpc_rtt_tx_no_slot,
                                                   >> 140         rxrpc_rtt_tx_ping,
                                                   >> 141 };
                                                   >> 142 
                                                   >> 143 enum rxrpc_rtt_rx_trace {
                                                   >> 144         rxrpc_rtt_rx_cancel,
                                                   >> 145         rxrpc_rtt_rx_lost,
                                                   >> 146         rxrpc_rtt_rx_obsolete,
                                                   >> 147         rxrpc_rtt_rx_ping_response,
                                                   >> 148         rxrpc_rtt_rx_requested_ack,
                                                   >> 149 };
                                                   >> 150 
                                                   >> 151 enum rxrpc_timer_trace {
                                                   >> 152         rxrpc_timer_begin,
                                                   >> 153         rxrpc_timer_exp_ack,
                                                   >> 154         rxrpc_timer_exp_hard,
                                                   >> 155         rxrpc_timer_exp_idle,
                                                   >> 156         rxrpc_timer_exp_keepalive,
                                                   >> 157         rxrpc_timer_exp_lost_ack,
                                                   >> 158         rxrpc_timer_exp_normal,
                                                   >> 159         rxrpc_timer_exp_ping,
                                                   >> 160         rxrpc_timer_exp_resend,
                                                   >> 161         rxrpc_timer_expired,
                                                   >> 162         rxrpc_timer_init_for_reply,
                                                   >> 163         rxrpc_timer_init_for_send_reply,
                                                   >> 164         rxrpc_timer_restart,
                                                   >> 165         rxrpc_timer_set_for_ack,
                                                   >> 166         rxrpc_timer_set_for_hard,
                                                   >> 167         rxrpc_timer_set_for_idle,
                                                   >> 168         rxrpc_timer_set_for_keepalive,
                                                   >> 169         rxrpc_timer_set_for_lost_ack,
                                                   >> 170         rxrpc_timer_set_for_normal,
                                                   >> 171         rxrpc_timer_set_for_ping,
                                                   >> 172         rxrpc_timer_set_for_resend,
                                                   >> 173         rxrpc_timer_set_for_send,
                                                   >> 174 };
                                                   >> 175 
                                                   >> 176 enum rxrpc_propose_ack_trace {
                                                   >> 177         rxrpc_propose_ack_client_tx_end,
                                                   >> 178         rxrpc_propose_ack_input_data,
                                                   >> 179         rxrpc_propose_ack_ping_for_check_life,
                                                   >> 180         rxrpc_propose_ack_ping_for_keepalive,
                                                   >> 181         rxrpc_propose_ack_ping_for_lost_ack,
                                                   >> 182         rxrpc_propose_ack_ping_for_lost_reply,
                                                   >> 183         rxrpc_propose_ack_ping_for_params,
                                                   >> 184         rxrpc_propose_ack_processing_op,
                                                   >> 185         rxrpc_propose_ack_respond_to_ack,
                                                   >> 186         rxrpc_propose_ack_respond_to_ping,
                                                   >> 187         rxrpc_propose_ack_retry_tx,
                                                   >> 188         rxrpc_propose_ack_rotate_rx,
                                                   >> 189         rxrpc_propose_ack_terminal_ack,
                                                   >> 190 };
                                                   >> 191 
                                                   >> 192 enum rxrpc_propose_ack_outcome {
                                                   >> 193         rxrpc_propose_ack_subsume,
                                                   >> 194         rxrpc_propose_ack_update,
                                                   >> 195         rxrpc_propose_ack_use,
                                                   >> 196 };
                                                   >> 197 
                                                   >> 198 enum rxrpc_congest_change {
                                                   >> 199         rxrpc_cong_begin_retransmission,
                                                   >> 200         rxrpc_cong_cleared_nacks,
                                                   >> 201         rxrpc_cong_new_low_nack,
                                                   >> 202         rxrpc_cong_no_change,
                                                   >> 203         rxrpc_cong_progress,
                                                   >> 204         rxrpc_cong_retransmit_again,
                                                   >> 205         rxrpc_cong_rtt_window_end,
                                                   >> 206         rxrpc_cong_saw_nack,
                                                   >> 207 };
                                                   >> 208 
                                                   >> 209 enum rxrpc_tx_point {
                                                   >> 210         rxrpc_tx_point_call_abort,
                                                   >> 211         rxrpc_tx_point_call_ack,
                                                   >> 212         rxrpc_tx_point_call_data_frag,
                                                   >> 213         rxrpc_tx_point_call_data_nofrag,
                                                   >> 214         rxrpc_tx_point_call_final_resend,
                                                   >> 215         rxrpc_tx_point_conn_abort,
                                                   >> 216         rxrpc_tx_point_rxkad_challenge,
                                                   >> 217         rxrpc_tx_point_rxkad_response,
                                                   >> 218         rxrpc_tx_point_reject,
                                                   >> 219         rxrpc_tx_point_version_keepalive,
                                                   >> 220         rxrpc_tx_point_version_reply,
                                                   >> 221 };
126                                                   222 
                                                   >> 223 #endif /* end __RXRPC_DECLARE_TRACE_ENUMS_ONCE_ONLY */
                                                   >> 224 
                                                   >> 225 /*
                                                   >> 226  * Declare tracing information enums and their string mappings for display.
                                                   >> 227  */
127 #define rxrpc_skb_traces \                        228 #define rxrpc_skb_traces \
128         EM(rxrpc_skb_eaten_by_unshare,         !! 229         EM(rxrpc_skb_cleaned,                   "CLN") \
129         EM(rxrpc_skb_eaten_by_unshare_nomem,   !! 230         EM(rxrpc_skb_freed,                     "FRE") \
130         EM(rxrpc_skb_get_conn_secured,         !! 231         EM(rxrpc_skb_got,                       "GOT") \
131         EM(rxrpc_skb_get_conn_work,            !! 232         EM(rxrpc_skb_lost,                      "*L*") \
132         EM(rxrpc_skb_get_last_nack,            !! 233         EM(rxrpc_skb_new,                       "NEW") \
133         EM(rxrpc_skb_get_local_work,           !! 234         EM(rxrpc_skb_purged,                    "PUR") \
134         EM(rxrpc_skb_get_reject_work,          !! 235         EM(rxrpc_skb_received,                  "RCV") \
135         EM(rxrpc_skb_get_to_recvmsg,           !! 236         EM(rxrpc_skb_rotated,                   "ROT") \
136         EM(rxrpc_skb_get_to_recvmsg_oos,       !! 237         EM(rxrpc_skb_seen,                      "SEE") \
137         EM(rxrpc_skb_new_encap_rcv,            !! 238         EM(rxrpc_skb_unshared,                  "UNS") \
138         EM(rxrpc_skb_new_error_report,         !! 239         E_(rxrpc_skb_unshared_nomem,            "US0")
139         EM(rxrpc_skb_new_jumbo_subpacket,      << 
140         EM(rxrpc_skb_new_unshared,             << 
141         EM(rxrpc_skb_put_conn_secured,         << 
142         EM(rxrpc_skb_put_conn_work,            << 
143         EM(rxrpc_skb_put_error_report,         << 
144         EM(rxrpc_skb_put_input,                << 
145         EM(rxrpc_skb_put_jumbo_subpacket,      << 
146         EM(rxrpc_skb_put_last_nack,            << 
147         EM(rxrpc_skb_put_purge,                << 
148         EM(rxrpc_skb_put_rotate,               << 
149         EM(rxrpc_skb_put_unknown,              << 
150         EM(rxrpc_skb_see_conn_work,            << 
151         EM(rxrpc_skb_see_recvmsg,              << 
152         EM(rxrpc_skb_see_reject,               << 
153         EM(rxrpc_skb_see_rotate,               << 
154         E_(rxrpc_skb_see_version,              << 
155                                                   240 
156 #define rxrpc_local_traces \                      241 #define rxrpc_local_traces \
157         EM(rxrpc_local_free,                   !! 242         EM(rxrpc_local_got,                     "GOT") \
158         EM(rxrpc_local_get_call,               !! 243         EM(rxrpc_local_new,                     "NEW") \
159         EM(rxrpc_local_get_client_conn,        !! 244         EM(rxrpc_local_processing,              "PRO") \
160         EM(rxrpc_local_get_for_use,            !! 245         EM(rxrpc_local_put,                     "PUT") \
161         EM(rxrpc_local_get_peer,               !! 246         E_(rxrpc_local_queued,                  "QUE")
162         EM(rxrpc_local_get_prealloc_conn,      << 
163         EM(rxrpc_local_new,                    << 
164         EM(rxrpc_local_put_bind,               << 
165         EM(rxrpc_local_put_call,               << 
166         EM(rxrpc_local_put_for_use,            << 
167         EM(rxrpc_local_put_kill_conn,          << 
168         EM(rxrpc_local_put_peer,               << 
169         EM(rxrpc_local_put_prealloc_peer,      << 
170         EM(rxrpc_local_put_release_sock,       << 
171         EM(rxrpc_local_stop,                   << 
172         EM(rxrpc_local_stopped,                << 
173         EM(rxrpc_local_unuse_bind,             << 
174         EM(rxrpc_local_unuse_conn_work,        << 
175         EM(rxrpc_local_unuse_peer_keepalive,   << 
176         EM(rxrpc_local_unuse_release_sock,     << 
177         EM(rxrpc_local_use_conn_work,          << 
178         EM(rxrpc_local_use_lookup,             << 
179         E_(rxrpc_local_use_peer_keepalive,     << 
180                                                   247 
181 #define rxrpc_peer_traces \                       248 #define rxrpc_peer_traces \
182         EM(rxrpc_peer_free,                    !! 249         EM(rxrpc_peer_got,                      "GOT") \
183         EM(rxrpc_peer_get_accept,              !! 250         EM(rxrpc_peer_new,                      "NEW") \
184         EM(rxrpc_peer_get_application,         !! 251         EM(rxrpc_peer_processing,               "PRO") \
185         EM(rxrpc_peer_get_bundle,              !! 252         E_(rxrpc_peer_put,                      "PUT")
186         EM(rxrpc_peer_get_call,                << 
187         EM(rxrpc_peer_get_client_conn,         << 
188         EM(rxrpc_peer_get_input,               << 
189         EM(rxrpc_peer_get_input_error,         << 
190         EM(rxrpc_peer_get_keepalive,           << 
191         EM(rxrpc_peer_get_lookup_client,       << 
192         EM(rxrpc_peer_get_service_conn,        << 
193         EM(rxrpc_peer_new_client,              << 
194         EM(rxrpc_peer_new_prealloc,            << 
195         EM(rxrpc_peer_put_application,         << 
196         EM(rxrpc_peer_put_bundle,              << 
197         EM(rxrpc_peer_put_call,                << 
198         EM(rxrpc_peer_put_conn,                << 
199         EM(rxrpc_peer_put_input,               << 
200         EM(rxrpc_peer_put_input_error,         << 
201         E_(rxrpc_peer_put_keepalive,           << 
202                                                << 
203 #define rxrpc_bundle_traces \                  << 
204         EM(rxrpc_bundle_free,                  << 
205         EM(rxrpc_bundle_get_client_call,       << 
206         EM(rxrpc_bundle_get_client_conn,       << 
207         EM(rxrpc_bundle_get_service_conn,      << 
208         EM(rxrpc_bundle_put_call,              << 
209         EM(rxrpc_bundle_put_conn,              << 
210         EM(rxrpc_bundle_put_discard,           << 
211         E_(rxrpc_bundle_new,                   << 
212                                                   253 
213 #define rxrpc_conn_traces \                       254 #define rxrpc_conn_traces \
214         EM(rxrpc_conn_free,                    !! 255         EM(rxrpc_conn_got,                      "GOT") \
215         EM(rxrpc_conn_get_activate_call,       !! 256         EM(rxrpc_conn_new_client,               "NWc") \
216         EM(rxrpc_conn_get_call_input,          !! 257         EM(rxrpc_conn_new_service,              "NWs") \
217         EM(rxrpc_conn_get_conn_input,          !! 258         EM(rxrpc_conn_put_client,               "PTc") \
218         EM(rxrpc_conn_get_idle,                !! 259         EM(rxrpc_conn_put_service,              "PTs") \
219         EM(rxrpc_conn_get_poke_abort,          !! 260         EM(rxrpc_conn_queued,                   "QUE") \
220         EM(rxrpc_conn_get_poke_timer,          !! 261         EM(rxrpc_conn_reap_service,             "RPs") \
221         EM(rxrpc_conn_get_service_conn,        !! 262         E_(rxrpc_conn_seen,                     "SEE")
222         EM(rxrpc_conn_new_client,              << 
223         EM(rxrpc_conn_new_service,             << 
224         EM(rxrpc_conn_put_call,                << 
225         EM(rxrpc_conn_put_call_input,          << 
226         EM(rxrpc_conn_put_conn_input,          << 
227         EM(rxrpc_conn_put_discard_idle,        << 
228         EM(rxrpc_conn_put_local_dead,          << 
229         EM(rxrpc_conn_put_noreuse,             << 
230         EM(rxrpc_conn_put_poke,                << 
231         EM(rxrpc_conn_put_service_reaped,      << 
232         EM(rxrpc_conn_put_unbundle,            << 
233         EM(rxrpc_conn_put_unidle,              << 
234         EM(rxrpc_conn_put_work,                << 
235         EM(rxrpc_conn_queue_challenge,         << 
236         EM(rxrpc_conn_queue_retry_work,        << 
237         EM(rxrpc_conn_queue_rx_work,           << 
238         EM(rxrpc_conn_see_new_service_conn,    << 
239         EM(rxrpc_conn_see_reap_service,        << 
240         E_(rxrpc_conn_see_work,                << 
241                                                   263 
242 #define rxrpc_client_traces \                     264 #define rxrpc_client_traces \
243         EM(rxrpc_client_activate_chans,           265         EM(rxrpc_client_activate_chans,         "Activa") \
244         EM(rxrpc_client_alloc,                    266         EM(rxrpc_client_alloc,                  "Alloc ") \
245         EM(rxrpc_client_chan_activate,            267         EM(rxrpc_client_chan_activate,          "ChActv") \
246         EM(rxrpc_client_chan_disconnect,          268         EM(rxrpc_client_chan_disconnect,        "ChDisc") \
247         EM(rxrpc_client_chan_pass,                269         EM(rxrpc_client_chan_pass,              "ChPass") \
                                                   >> 270         EM(rxrpc_client_chan_wait_failed,       "ChWtFl") \
248         EM(rxrpc_client_cleanup,                  271         EM(rxrpc_client_cleanup,                "Clean ") \
249         EM(rxrpc_client_discard,                  272         EM(rxrpc_client_discard,                "Discar") \
                                                   >> 273         EM(rxrpc_client_duplicate,              "Duplic") \
250         EM(rxrpc_client_exposed,                  274         EM(rxrpc_client_exposed,                "Expose") \
251         EM(rxrpc_client_replace,                  275         EM(rxrpc_client_replace,                "Replac") \
252         EM(rxrpc_client_queue_new_call,        << 
253         EM(rxrpc_client_to_active,                276         EM(rxrpc_client_to_active,              "->Actv") \
254         E_(rxrpc_client_to_idle,                  277         E_(rxrpc_client_to_idle,                "->Idle")
255                                                   278 
256 #define rxrpc_call_traces \                       279 #define rxrpc_call_traces \
257         EM(rxrpc_call_get_io_thread,           !! 280         EM(rxrpc_call_connected,                "CON") \
258         EM(rxrpc_call_get_input,               !! 281         EM(rxrpc_call_error,                    "*E*") \
259         EM(rxrpc_call_get_kernel_service,      !! 282         EM(rxrpc_call_got,                      "GOT") \
260         EM(rxrpc_call_get_notify_socket,       !! 283         EM(rxrpc_call_got_kernel,               "Gke") \
261         EM(rxrpc_call_get_poke,                !! 284         EM(rxrpc_call_got_timer,                "GTM") \
262         EM(rxrpc_call_get_recvmsg,             !! 285         EM(rxrpc_call_got_userid,               "Gus") \
263         EM(rxrpc_call_get_release_sock,        !! 286         EM(rxrpc_call_new_client,               "NWc") \
264         EM(rxrpc_call_get_sendmsg,             !! 287         EM(rxrpc_call_new_service,              "NWs") \
265         EM(rxrpc_call_get_userid,              !! 288         EM(rxrpc_call_put,                      "PUT") \
266         EM(rxrpc_call_new_client,              !! 289         EM(rxrpc_call_put_kernel,               "Pke") \
267         EM(rxrpc_call_new_prealloc_service,    !! 290         EM(rxrpc_call_put_noqueue,              "PnQ") \
268         EM(rxrpc_call_put_discard_prealloc,    !! 291         EM(rxrpc_call_put_notimer,              "PnT") \
269         EM(rxrpc_call_put_discard_error,       !! 292         EM(rxrpc_call_put_timer,                "PTM") \
270         EM(rxrpc_call_put_io_thread,           !! 293         EM(rxrpc_call_put_userid,               "Pus") \
271         EM(rxrpc_call_put_input,               !! 294         EM(rxrpc_call_queued,                   "QUE") \
272         EM(rxrpc_call_put_kernel,              !! 295         EM(rxrpc_call_queued_ref,               "QUR") \
273         EM(rxrpc_call_put_poke,                !! 296         EM(rxrpc_call_release,                  "RLS") \
274         EM(rxrpc_call_put_recvmsg,             !! 297         E_(rxrpc_call_seen,                     "SEE")
275         EM(rxrpc_call_put_release_sock,        !! 298 
276         EM(rxrpc_call_put_release_sock_tba,    !! 299 #define rxrpc_transmit_traces \
277         EM(rxrpc_call_put_sendmsg,             !! 300         EM(rxrpc_transmit_await_reply,          "AWR") \
278         EM(rxrpc_call_put_unnotify,            !! 301         EM(rxrpc_transmit_end,                  "END") \
279         EM(rxrpc_call_put_userid_exists,       !! 302         EM(rxrpc_transmit_queue,                "QUE") \
280         EM(rxrpc_call_put_userid,              !! 303         EM(rxrpc_transmit_queue_last,           "QLS") \
281         EM(rxrpc_call_see_accept,              !! 304         EM(rxrpc_transmit_rotate,               "ROT") \
282         EM(rxrpc_call_see_activate_client,     !! 305         EM(rxrpc_transmit_rotate_last,          "RLS") \
283         EM(rxrpc_call_see_connect_failed,      !! 306         E_(rxrpc_transmit_wait,                 "WAI")
284         EM(rxrpc_call_see_connected,           << 
285         EM(rxrpc_call_see_disconnected,        << 
286         EM(rxrpc_call_see_distribute_error,    << 
287         EM(rxrpc_call_see_input,               << 
288         EM(rxrpc_call_see_release,             << 
289         EM(rxrpc_call_see_userid_exists,       << 
290         EM(rxrpc_call_see_waiting_call,        << 
291         E_(rxrpc_call_see_zap,                 << 
292                                                << 
293 #define rxrpc_txqueue_traces \                 << 
294         EM(rxrpc_txqueue_await_reply,          << 
295         EM(rxrpc_txqueue_dequeue,              << 
296         EM(rxrpc_txqueue_end,                  << 
297         EM(rxrpc_txqueue_queue,                << 
298         EM(rxrpc_txqueue_queue_last,           << 
299         EM(rxrpc_txqueue_rotate,               << 
300         EM(rxrpc_txqueue_rotate_last,          << 
301         E_(rxrpc_txqueue_wait,                 << 
302                                                   307 
303 #define rxrpc_receive_traces \                    308 #define rxrpc_receive_traces \
304         EM(rxrpc_receive_end,                     309         EM(rxrpc_receive_end,                   "END") \
305         EM(rxrpc_receive_front,                   310         EM(rxrpc_receive_front,                 "FRN") \
306         EM(rxrpc_receive_incoming,                311         EM(rxrpc_receive_incoming,              "INC") \
307         EM(rxrpc_receive_queue,                   312         EM(rxrpc_receive_queue,                 "QUE") \
308         EM(rxrpc_receive_queue_last,              313         EM(rxrpc_receive_queue_last,            "QLS") \
309         EM(rxrpc_receive_queue_oos,            !! 314         E_(rxrpc_receive_rotate,                "ROT")
310         EM(rxrpc_receive_queue_oos_last,       << 
311         EM(rxrpc_receive_oos,                  << 
312         EM(rxrpc_receive_oos_last,             << 
313         EM(rxrpc_receive_rotate,               << 
314         E_(rxrpc_receive_rotate_last,          << 
315                                                   315 
316 #define rxrpc_recvmsg_traces \                    316 #define rxrpc_recvmsg_traces \
317         EM(rxrpc_recvmsg_cont,                    317         EM(rxrpc_recvmsg_cont,                  "CONT") \
318         EM(rxrpc_recvmsg_data_return,             318         EM(rxrpc_recvmsg_data_return,           "DATA") \
319         EM(rxrpc_recvmsg_dequeue,                 319         EM(rxrpc_recvmsg_dequeue,               "DEQU") \
320         EM(rxrpc_recvmsg_enter,                   320         EM(rxrpc_recvmsg_enter,                 "ENTR") \
321         EM(rxrpc_recvmsg_full,                    321         EM(rxrpc_recvmsg_full,                  "FULL") \
322         EM(rxrpc_recvmsg_hole,                    322         EM(rxrpc_recvmsg_hole,                  "HOLE") \
323         EM(rxrpc_recvmsg_next,                    323         EM(rxrpc_recvmsg_next,                  "NEXT") \
324         EM(rxrpc_recvmsg_requeue,                 324         EM(rxrpc_recvmsg_requeue,               "REQU") \
325         EM(rxrpc_recvmsg_return,                  325         EM(rxrpc_recvmsg_return,                "RETN") \
326         EM(rxrpc_recvmsg_terminal,                326         EM(rxrpc_recvmsg_terminal,              "TERM") \
327         EM(rxrpc_recvmsg_to_be_accepted,          327         EM(rxrpc_recvmsg_to_be_accepted,        "TBAC") \
328         EM(rxrpc_recvmsg_unqueue,              << 
329         E_(rxrpc_recvmsg_wait,                    328         E_(rxrpc_recvmsg_wait,                  "WAIT")
330                                                   329 
331 #define rxrpc_rtt_tx_traces \                     330 #define rxrpc_rtt_tx_traces \
332         EM(rxrpc_rtt_tx_cancel,                   331         EM(rxrpc_rtt_tx_cancel,                 "CNCE") \
333         EM(rxrpc_rtt_tx_data,                     332         EM(rxrpc_rtt_tx_data,                   "DATA") \
334         EM(rxrpc_rtt_tx_no_slot,                  333         EM(rxrpc_rtt_tx_no_slot,                "FULL") \
335         E_(rxrpc_rtt_tx_ping,                     334         E_(rxrpc_rtt_tx_ping,                   "PING")
336                                                   335 
337 #define rxrpc_rtt_rx_traces \                     336 #define rxrpc_rtt_rx_traces \
338         EM(rxrpc_rtt_rx_other_ack,             !! 337         EM(rxrpc_rtt_rx_cancel,                 "CNCL") \
339         EM(rxrpc_rtt_rx_obsolete,                 338         EM(rxrpc_rtt_rx_obsolete,               "OBSL") \
340         EM(rxrpc_rtt_rx_lost,                     339         EM(rxrpc_rtt_rx_lost,                   "LOST") \
341         EM(rxrpc_rtt_rx_ping_response,            340         EM(rxrpc_rtt_rx_ping_response,          "PONG") \
342         E_(rxrpc_rtt_rx_requested_ack,            341         E_(rxrpc_rtt_rx_requested_ack,          "RACK")
343                                                   342 
344 #define rxrpc_timer_traces \                      343 #define rxrpc_timer_traces \
345         EM(rxrpc_timer_trace_delayed_ack,      !! 344         EM(rxrpc_timer_begin,                   "Begin ") \
346         EM(rxrpc_timer_trace_expect_rx,        !! 345         EM(rxrpc_timer_expired,                 "*EXPR*") \
347         EM(rxrpc_timer_trace_hard,             !! 346         EM(rxrpc_timer_exp_ack,                 "ExpAck") \
348         EM(rxrpc_timer_trace_idle,             !! 347         EM(rxrpc_timer_exp_hard,                "ExpHrd") \
349         EM(rxrpc_timer_trace_keepalive,        !! 348         EM(rxrpc_timer_exp_idle,                "ExpIdl") \
350         EM(rxrpc_timer_trace_lost_ack,         !! 349         EM(rxrpc_timer_exp_keepalive,           "ExpKA ") \
351         EM(rxrpc_timer_trace_ping,             !! 350         EM(rxrpc_timer_exp_lost_ack,            "ExpLoA") \
352         EM(rxrpc_timer_trace_resend,           !! 351         EM(rxrpc_timer_exp_normal,              "ExpNml") \
353         EM(rxrpc_timer_trace_resend_reset,     !! 352         EM(rxrpc_timer_exp_ping,                "ExpPng") \
354         E_(rxrpc_timer_trace_resend_tx,        !! 353         EM(rxrpc_timer_exp_resend,              "ExpRsn") \
                                                   >> 354         EM(rxrpc_timer_init_for_reply,          "IniRpl") \
                                                   >> 355         EM(rxrpc_timer_init_for_send_reply,     "SndRpl") \
                                                   >> 356         EM(rxrpc_timer_restart,                 "Restrt") \
                                                   >> 357         EM(rxrpc_timer_set_for_ack,             "SetAck") \
                                                   >> 358         EM(rxrpc_timer_set_for_hard,            "SetHrd") \
                                                   >> 359         EM(rxrpc_timer_set_for_idle,            "SetIdl") \
                                                   >> 360         EM(rxrpc_timer_set_for_keepalive,       "KeepAl") \
                                                   >> 361         EM(rxrpc_timer_set_for_lost_ack,        "SetLoA") \
                                                   >> 362         EM(rxrpc_timer_set_for_normal,          "SetNml") \
                                                   >> 363         EM(rxrpc_timer_set_for_ping,            "SetPng") \
                                                   >> 364         EM(rxrpc_timer_set_for_resend,          "SetRTx") \
                                                   >> 365         E_(rxrpc_timer_set_for_send,            "SetSnd")
355                                                   366 
356 #define rxrpc_propose_ack_traces \                367 #define rxrpc_propose_ack_traces \
357         EM(rxrpc_propose_ack_client_tx_end,       368         EM(rxrpc_propose_ack_client_tx_end,     "ClTxEnd") \
358         EM(rxrpc_propose_ack_delayed_ack,      << 
359         EM(rxrpc_propose_ack_input_data,          369         EM(rxrpc_propose_ack_input_data,        "DataIn ") \
360         EM(rxrpc_propose_ack_input_data_hole,  !! 370         EM(rxrpc_propose_ack_ping_for_check_life, "ChkLife") \
361         EM(rxrpc_propose_ack_ping_for_keepaliv    371         EM(rxrpc_propose_ack_ping_for_keepalive, "KeepAlv") \
362         EM(rxrpc_propose_ack_ping_for_lost_ack    372         EM(rxrpc_propose_ack_ping_for_lost_ack, "LostAck") \
363         EM(rxrpc_propose_ack_ping_for_lost_rep    373         EM(rxrpc_propose_ack_ping_for_lost_reply, "LostRpl") \
364         EM(rxrpc_propose_ack_ping_for_0_retran << 
365         EM(rxrpc_propose_ack_ping_for_old_rtt, << 
366         EM(rxrpc_propose_ack_ping_for_params,     374         EM(rxrpc_propose_ack_ping_for_params,   "Params ") \
367         EM(rxrpc_propose_ack_ping_for_rtt,     << 
368         EM(rxrpc_propose_ack_processing_op,       375         EM(rxrpc_propose_ack_processing_op,     "ProcOp ") \
369         EM(rxrpc_propose_ack_respond_to_ack,      376         EM(rxrpc_propose_ack_respond_to_ack,    "Rsp2Ack") \
370         EM(rxrpc_propose_ack_respond_to_ping,     377         EM(rxrpc_propose_ack_respond_to_ping,   "Rsp2Png") \
371         EM(rxrpc_propose_ack_retry_tx,            378         EM(rxrpc_propose_ack_retry_tx,          "RetryTx") \
372         EM(rxrpc_propose_ack_rotate_rx,           379         EM(rxrpc_propose_ack_rotate_rx,         "RxAck  ") \
373         EM(rxrpc_propose_ack_rx_idle,          << 
374         E_(rxrpc_propose_ack_terminal_ack,        380         E_(rxrpc_propose_ack_terminal_ack,      "ClTerm ")
375                                                   381 
                                                   >> 382 #define rxrpc_propose_ack_outcomes \
                                                   >> 383         EM(rxrpc_propose_ack_subsume,           " Subsume") \
                                                   >> 384         EM(rxrpc_propose_ack_update,            " Update") \
                                                   >> 385         E_(rxrpc_propose_ack_use,               " New")
                                                   >> 386 
376 #define rxrpc_congest_modes \                     387 #define rxrpc_congest_modes \
377         EM(RXRPC_CALL_CONGEST_AVOIDANCE,          388         EM(RXRPC_CALL_CONGEST_AVOIDANCE,        "CongAvoid") \
378         EM(RXRPC_CALL_FAST_RETRANSMIT,            389         EM(RXRPC_CALL_FAST_RETRANSMIT,          "FastReTx ") \
379         EM(RXRPC_CALL_PACKET_LOSS,                390         EM(RXRPC_CALL_PACKET_LOSS,              "PktLoss  ") \
380         E_(RXRPC_CALL_SLOW_START,                 391         E_(RXRPC_CALL_SLOW_START,               "SlowStart")
381                                                   392 
382 #define rxrpc_congest_changes \                   393 #define rxrpc_congest_changes \
383         EM(rxrpc_cong_begin_retransmission,       394         EM(rxrpc_cong_begin_retransmission,     " Retrans") \
384         EM(rxrpc_cong_cleared_nacks,              395         EM(rxrpc_cong_cleared_nacks,            " Cleared") \
385         EM(rxrpc_cong_new_low_nack,               396         EM(rxrpc_cong_new_low_nack,             " NewLowN") \
386         EM(rxrpc_cong_no_change,                  397         EM(rxrpc_cong_no_change,                " -") \
387         EM(rxrpc_cong_progress,                   398         EM(rxrpc_cong_progress,                 " Progres") \
388         EM(rxrpc_cong_idle_reset,              << 
389         EM(rxrpc_cong_retransmit_again,           399         EM(rxrpc_cong_retransmit_again,         " ReTxAgn") \
390         EM(rxrpc_cong_rtt_window_end,             400         EM(rxrpc_cong_rtt_window_end,           " RttWinE") \
391         E_(rxrpc_cong_saw_nack,                   401         E_(rxrpc_cong_saw_nack,                 " SawNack")
392                                                   402 
393 #define rxrpc_pkts \                              403 #define rxrpc_pkts \
394         EM(0,                                     404         EM(0,                                   "?00") \
395         EM(RXRPC_PACKET_TYPE_DATA,                405         EM(RXRPC_PACKET_TYPE_DATA,              "DATA") \
396         EM(RXRPC_PACKET_TYPE_ACK,                 406         EM(RXRPC_PACKET_TYPE_ACK,               "ACK") \
397         EM(RXRPC_PACKET_TYPE_BUSY,                407         EM(RXRPC_PACKET_TYPE_BUSY,              "BUSY") \
398         EM(RXRPC_PACKET_TYPE_ABORT,               408         EM(RXRPC_PACKET_TYPE_ABORT,             "ABORT") \
399         EM(RXRPC_PACKET_TYPE_ACKALL,              409         EM(RXRPC_PACKET_TYPE_ACKALL,            "ACKALL") \
400         EM(RXRPC_PACKET_TYPE_CHALLENGE,           410         EM(RXRPC_PACKET_TYPE_CHALLENGE,         "CHALL") \
401         EM(RXRPC_PACKET_TYPE_RESPONSE,            411         EM(RXRPC_PACKET_TYPE_RESPONSE,          "RESP") \
402         EM(RXRPC_PACKET_TYPE_DEBUG,               412         EM(RXRPC_PACKET_TYPE_DEBUG,             "DEBUG") \
403         EM(9,                                     413         EM(9,                                   "?09") \
404         EM(10,                                    414         EM(10,                                  "?10") \
405         EM(11,                                    415         EM(11,                                  "?11") \
406         EM(12,                                    416         EM(12,                                  "?12") \
407         EM(RXRPC_PACKET_TYPE_VERSION,             417         EM(RXRPC_PACKET_TYPE_VERSION,           "VERSION") \
408         EM(14,                                    418         EM(14,                                  "?14") \
409         E_(15,                                    419         E_(15,                                  "?15")
410                                                   420 
411 #define rxrpc_ack_names \                         421 #define rxrpc_ack_names \
412         EM(0,                                     422         EM(0,                                   "-0-") \
413         EM(RXRPC_ACK_REQUESTED,                   423         EM(RXRPC_ACK_REQUESTED,                 "REQ") \
414         EM(RXRPC_ACK_DUPLICATE,                   424         EM(RXRPC_ACK_DUPLICATE,                 "DUP") \
415         EM(RXRPC_ACK_OUT_OF_SEQUENCE,             425         EM(RXRPC_ACK_OUT_OF_SEQUENCE,           "OOS") \
416         EM(RXRPC_ACK_EXCEEDS_WINDOW,              426         EM(RXRPC_ACK_EXCEEDS_WINDOW,            "WIN") \
417         EM(RXRPC_ACK_NOSPACE,                     427         EM(RXRPC_ACK_NOSPACE,                   "MEM") \
418         EM(RXRPC_ACK_PING,                        428         EM(RXRPC_ACK_PING,                      "PNG") \
419         EM(RXRPC_ACK_PING_RESPONSE,               429         EM(RXRPC_ACK_PING_RESPONSE,             "PNR") \
420         EM(RXRPC_ACK_DELAY,                       430         EM(RXRPC_ACK_DELAY,                     "DLY") \
421         EM(RXRPC_ACK_IDLE,                        431         EM(RXRPC_ACK_IDLE,                      "IDL") \
422         E_(RXRPC_ACK__INVALID,                    432         E_(RXRPC_ACK__INVALID,                  "-?-")
423                                                   433 
424 #define rxrpc_sack_traces \                    << 
425         EM(rxrpc_sack_advance,                 << 
426         EM(rxrpc_sack_fill,                    << 
427         EM(rxrpc_sack_nack,                    << 
428         EM(rxrpc_sack_none,                    << 
429         E_(rxrpc_sack_oos,                     << 
430                                                << 
431 #define rxrpc_completions \                       434 #define rxrpc_completions \
432         EM(RXRPC_CALL_SUCCEEDED,                  435         EM(RXRPC_CALL_SUCCEEDED,                "Succeeded") \
433         EM(RXRPC_CALL_REMOTELY_ABORTED,           436         EM(RXRPC_CALL_REMOTELY_ABORTED,         "RemoteAbort") \
434         EM(RXRPC_CALL_LOCALLY_ABORTED,            437         EM(RXRPC_CALL_LOCALLY_ABORTED,          "LocalAbort") \
435         EM(RXRPC_CALL_LOCAL_ERROR,                438         EM(RXRPC_CALL_LOCAL_ERROR,              "LocalError") \
436         E_(RXRPC_CALL_NETWORK_ERROR,              439         E_(RXRPC_CALL_NETWORK_ERROR,            "NetError")
437                                                   440 
438 #define rxrpc_tx_points \                         441 #define rxrpc_tx_points \
439         EM(rxrpc_tx_point_call_abort,             442         EM(rxrpc_tx_point_call_abort,           "CallAbort") \
440         EM(rxrpc_tx_point_call_ack,               443         EM(rxrpc_tx_point_call_ack,             "CallAck") \
441         EM(rxrpc_tx_point_call_data_frag,         444         EM(rxrpc_tx_point_call_data_frag,       "CallDataFrag") \
442         EM(rxrpc_tx_point_call_data_nofrag,       445         EM(rxrpc_tx_point_call_data_nofrag,     "CallDataNofrag") \
443         EM(rxrpc_tx_point_call_final_resend,      446         EM(rxrpc_tx_point_call_final_resend,    "CallFinalResend") \
444         EM(rxrpc_tx_point_conn_abort,             447         EM(rxrpc_tx_point_conn_abort,           "ConnAbort") \
445         EM(rxrpc_tx_point_reject,                 448         EM(rxrpc_tx_point_reject,               "Reject") \
446         EM(rxrpc_tx_point_rxkad_challenge,        449         EM(rxrpc_tx_point_rxkad_challenge,      "RxkadChall") \
447         EM(rxrpc_tx_point_rxkad_response,         450         EM(rxrpc_tx_point_rxkad_response,       "RxkadResp") \
448         EM(rxrpc_tx_point_version_keepalive,      451         EM(rxrpc_tx_point_version_keepalive,    "VerKeepalive") \
449         E_(rxrpc_tx_point_version_reply,          452         E_(rxrpc_tx_point_version_reply,        "VerReply")
450                                                   453 
451 #define rxrpc_req_ack_traces \                 << 
452         EM(rxrpc_reqack_ack_lost,              << 
453         EM(rxrpc_reqack_already_on,            << 
454         EM(rxrpc_reqack_more_rtt,              << 
455         EM(rxrpc_reqack_no_srv_last,           << 
456         EM(rxrpc_reqack_old_rtt,               << 
457         EM(rxrpc_reqack_retrans,               << 
458         EM(rxrpc_reqack_slow_start,            << 
459         E_(rxrpc_reqack_small_txwin,           << 
460 /* ---- Must update size of stat_why_req_ack[] << 
461                                                << 
462 #define rxrpc_txbuf_traces \                   << 
463         EM(rxrpc_txbuf_alloc_ack,              << 
464         EM(rxrpc_txbuf_alloc_data,             << 
465         EM(rxrpc_txbuf_free,                   << 
466         EM(rxrpc_txbuf_get_buffer,             << 
467         EM(rxrpc_txbuf_get_trans,              << 
468         EM(rxrpc_txbuf_get_retrans,            << 
469         EM(rxrpc_txbuf_put_ack_tx,             << 
470         EM(rxrpc_txbuf_put_cleaned,            << 
471         EM(rxrpc_txbuf_put_nomem,              << 
472         EM(rxrpc_txbuf_put_rotated,            << 
473         EM(rxrpc_txbuf_put_send_aborted,       << 
474         EM(rxrpc_txbuf_put_trans,              << 
475         EM(rxrpc_txbuf_see_out_of_step,        << 
476         EM(rxrpc_txbuf_see_send_more,          << 
477         E_(rxrpc_txbuf_see_unacked,            << 
478                                                << 
479 /*                                             << 
480  * Generate enums for tracing information.     << 
481  */                                            << 
482 #ifndef __NETFS_DECLARE_TRACE_ENUMS_ONCE_ONLY  << 
483 #define __NETFS_DECLARE_TRACE_ENUMS_ONCE_ONLY  << 
484                                                << 
485 #undef EM                                      << 
486 #undef E_                                      << 
487 #define EM(a, b) a,                            << 
488 #define E_(a, b) a                             << 
489                                                << 
490 enum rxrpc_abort_reason         { rxrpc_abort_ << 
491 enum rxrpc_bundle_trace         { rxrpc_bundle << 
492 enum rxrpc_call_poke_trace      { rxrpc_call_p << 
493 enum rxrpc_call_trace           { rxrpc_call_t << 
494 enum rxrpc_client_trace         { rxrpc_client << 
495 enum rxrpc_congest_change       { rxrpc_conges << 
496 enum rxrpc_conn_trace           { rxrpc_conn_t << 
497 enum rxrpc_local_trace          { rxrpc_local_ << 
498 enum rxrpc_peer_trace           { rxrpc_peer_t << 
499 enum rxrpc_propose_ack_outcome  { rxrpc_propos << 
500 enum rxrpc_propose_ack_trace    { rxrpc_propos << 
501 enum rxrpc_receive_trace        { rxrpc_receiv << 
502 enum rxrpc_recvmsg_trace        { rxrpc_recvms << 
503 enum rxrpc_req_ack_trace        { rxrpc_req_ac << 
504 enum rxrpc_rtt_rx_trace         { rxrpc_rtt_rx << 
505 enum rxrpc_rtt_tx_trace         { rxrpc_rtt_tx << 
506 enum rxrpc_sack_trace           { rxrpc_sack_t << 
507 enum rxrpc_skb_trace            { rxrpc_skb_tr << 
508 enum rxrpc_timer_trace          { rxrpc_timer_ << 
509 enum rxrpc_tx_point             { rxrpc_tx_poi << 
510 enum rxrpc_txbuf_trace          { rxrpc_txbuf_ << 
511 enum rxrpc_txqueue_trace        { rxrpc_txqueu << 
512                                                << 
513 #endif /* end __RXRPC_DECLARE_TRACE_ENUMS_ONCE << 
514                                                << 
515 /*                                                454 /*
516  * Export enum symbols via userspace.             455  * Export enum symbols via userspace.
517  */                                               456  */
518 #undef EM                                         457 #undef EM
519 #undef E_                                         458 #undef E_
520                                                << 
521 #ifndef RXRPC_TRACE_ONLY_DEFINE_ENUMS          << 
522                                                << 
523 #define EM(a, b) TRACE_DEFINE_ENUM(a);            459 #define EM(a, b) TRACE_DEFINE_ENUM(a);
524 #define E_(a, b) TRACE_DEFINE_ENUM(a);            460 #define E_(a, b) TRACE_DEFINE_ENUM(a);
525                                                   461 
526 rxrpc_abort_reasons;                           !! 462 rxrpc_skb_traces;
527 rxrpc_bundle_traces;                           << 
528 rxrpc_call_poke_traces;                        << 
529 rxrpc_call_traces;                             << 
530 rxrpc_client_traces;                           << 
531 rxrpc_congest_changes;                         << 
532 rxrpc_congest_modes;                           << 
533 rxrpc_conn_traces;                             << 
534 rxrpc_local_traces;                               463 rxrpc_local_traces;
535 rxrpc_propose_ack_traces;                      !! 464 rxrpc_conn_traces;
                                                   >> 465 rxrpc_client_traces;
                                                   >> 466 rxrpc_call_traces;
                                                   >> 467 rxrpc_transmit_traces;
536 rxrpc_receive_traces;                             468 rxrpc_receive_traces;
537 rxrpc_recvmsg_traces;                             469 rxrpc_recvmsg_traces;
538 rxrpc_req_ack_traces;                          << 
539 rxrpc_rtt_rx_traces;                           << 
540 rxrpc_rtt_tx_traces;                              470 rxrpc_rtt_tx_traces;
541 rxrpc_sack_traces;                             !! 471 rxrpc_rtt_rx_traces;
542 rxrpc_skb_traces;                              << 
543 rxrpc_timer_traces;                               472 rxrpc_timer_traces;
                                                   >> 473 rxrpc_propose_ack_traces;
                                                   >> 474 rxrpc_propose_ack_outcomes;
                                                   >> 475 rxrpc_congest_modes;
                                                   >> 476 rxrpc_congest_changes;
544 rxrpc_tx_points;                                  477 rxrpc_tx_points;
545 rxrpc_txbuf_traces;                            << 
546 rxrpc_txqueue_traces;                          << 
547                                                   478 
548 /*                                                479 /*
549  * Now redefine the EM() and E_() macros to ma    480  * Now redefine the EM() and E_() macros to map the enums to the strings that
550  * will be printed in the output.                 481  * will be printed in the output.
551  */                                               482  */
552 #undef EM                                         483 #undef EM
553 #undef E_                                         484 #undef E_
554 #define EM(a, b)        { a, b },                 485 #define EM(a, b)        { a, b },
555 #define E_(a, b)        { a, b }                  486 #define E_(a, b)        { a, b }
556                                                   487 
557 TRACE_EVENT(rxrpc_local,                          488 TRACE_EVENT(rxrpc_local,
558             TP_PROTO(unsigned int local_debug_    489             TP_PROTO(unsigned int local_debug_id, enum rxrpc_local_trace op,
559                      int ref, int usage),      !! 490                      int usage, const void *where),
560                                                   491 
561             TP_ARGS(local_debug_id, op, ref, u !! 492             TP_ARGS(local_debug_id, op, usage, where),
562                                                   493 
563             TP_STRUCT__entry(                     494             TP_STRUCT__entry(
564                     __field(unsigned int,      !! 495                     __field(unsigned int,       local           )
565                     __field(int,               !! 496                     __field(int,                op              )
566                     __field(int,               !! 497                     __field(int,                usage           )
567                     __field(int,               !! 498                     __field(const void *,       where           )
568                              ),                   499                              ),
569                                                   500 
570             TP_fast_assign(                       501             TP_fast_assign(
571                     __entry->local = local_deb    502                     __entry->local = local_debug_id;
572                     __entry->op = op;             503                     __entry->op = op;
573                     __entry->ref = ref;        << 
574                     __entry->usage = usage;       504                     __entry->usage = usage;
                                                   >> 505                     __entry->where = where;
575                            ),                     506                            ),
576                                                   507 
577             TP_printk("L=%08x %s r=%d u=%d",   !! 508             TP_printk("L=%08x %s u=%d sp=%pSR",
578                       __entry->local,             509                       __entry->local,
579                       __print_symbolic(__entry    510                       __print_symbolic(__entry->op, rxrpc_local_traces),
580                       __entry->ref,            !! 511                       __entry->usage,
581                       __entry->usage)          !! 512                       __entry->where)
582             );                                    513             );
583                                                   514 
584 TRACE_EVENT(rxrpc_peer,                           515 TRACE_EVENT(rxrpc_peer,
585             TP_PROTO(unsigned int peer_debug_i !! 516             TP_PROTO(unsigned int peer_debug_id, enum rxrpc_peer_trace op,
                                                   >> 517                      int usage, const void *where),
586                                                   518 
587             TP_ARGS(peer_debug_id, ref, why),  !! 519             TP_ARGS(peer_debug_id, op, usage, where),
588                                                   520 
589             TP_STRUCT__entry(                     521             TP_STRUCT__entry(
590                     __field(unsigned int,      !! 522                     __field(unsigned int,       peer            )
591                     __field(int,               !! 523                     __field(int,                op              )
592                     __field(enum rxrpc_peer_tr !! 524                     __field(int,                usage           )
                                                   >> 525                     __field(const void *,       where           )
593                              ),                   526                              ),
594                                                   527 
595             TP_fast_assign(                       528             TP_fast_assign(
596                     __entry->peer = peer_debug    529                     __entry->peer = peer_debug_id;
597                     __entry->ref = ref;        !! 530                     __entry->op = op;
598                     __entry->why = why;        !! 531                     __entry->usage = usage;
                                                   >> 532                     __entry->where = where;
599                            ),                     533                            ),
600                                                   534 
601             TP_printk("P=%08x %s r=%d",        !! 535             TP_printk("P=%08x %s u=%d sp=%pSR",
602                       __entry->peer,              536                       __entry->peer,
603                       __print_symbolic(__entry !! 537                       __print_symbolic(__entry->op, rxrpc_peer_traces),
604                       __entry->ref)            !! 538                       __entry->usage,
605             );                                 !! 539                       __entry->where)
606                                                << 
607 TRACE_EVENT(rxrpc_bundle,                      << 
608             TP_PROTO(unsigned int bundle_debug << 
609                                                << 
610             TP_ARGS(bundle_debug_id, ref, why) << 
611                                                << 
612             TP_STRUCT__entry(                  << 
613                     __field(unsigned int,      << 
614                     __field(int,               << 
615                     __field(int,               << 
616                              ),                << 
617                                                << 
618             TP_fast_assign(                    << 
619                     __entry->bundle = bundle_d << 
620                     __entry->ref = ref;        << 
621                     __entry->why = why;        << 
622                            ),                  << 
623                                                << 
624             TP_printk("CB=%08x %s r=%d",       << 
625                       __entry->bundle,         << 
626                       __print_symbolic(__entry << 
627                       __entry->ref)            << 
628             );                                    540             );
629                                                   541 
630 TRACE_EVENT(rxrpc_conn,                           542 TRACE_EVENT(rxrpc_conn,
631             TP_PROTO(unsigned int conn_debug_i !! 543             TP_PROTO(unsigned int conn_debug_id, enum rxrpc_conn_trace op,
                                                   >> 544                      int usage, const void *where),
632                                                   545 
633             TP_ARGS(conn_debug_id, ref, why),  !! 546             TP_ARGS(conn_debug_id, op, usage, where),
634                                                   547 
635             TP_STRUCT__entry(                     548             TP_STRUCT__entry(
636                     __field(unsigned int,      !! 549                     __field(unsigned int,       conn            )
637                     __field(int,               !! 550                     __field(int,                op              )
638                     __field(int,               !! 551                     __field(int,                usage           )
                                                   >> 552                     __field(const void *,       where           )
639                              ),                   553                              ),
640                                                   554 
641             TP_fast_assign(                       555             TP_fast_assign(
642                     __entry->conn = conn_debug    556                     __entry->conn = conn_debug_id;
643                     __entry->ref = ref;        !! 557                     __entry->op = op;
644                     __entry->why = why;        !! 558                     __entry->usage = usage;
                                                   >> 559                     __entry->where = where;
645                            ),                     560                            ),
646                                                   561 
647             TP_printk("C=%08x %s r=%d",        !! 562             TP_printk("C=%08x %s u=%d sp=%pSR",
648                       __entry->conn,              563                       __entry->conn,
649                       __print_symbolic(__entry !! 564                       __print_symbolic(__entry->op, rxrpc_conn_traces),
650                       __entry->ref)            !! 565                       __entry->usage,
                                                   >> 566                       __entry->where)
651             );                                    567             );
652                                                   568 
653 TRACE_EVENT(rxrpc_client,                         569 TRACE_EVENT(rxrpc_client,
654             TP_PROTO(struct rxrpc_connection *    570             TP_PROTO(struct rxrpc_connection *conn, int channel,
655                      enum rxrpc_client_trace o    571                      enum rxrpc_client_trace op),
656                                                   572 
657             TP_ARGS(conn, channel, op),           573             TP_ARGS(conn, channel, op),
658                                                   574 
659             TP_STRUCT__entry(                     575             TP_STRUCT__entry(
660                     __field(unsigned int,      !! 576                     __field(unsigned int,               conn            )
661                     __field(u32,               !! 577                     __field(u32,                        cid             )
662                     __field(int,               !! 578                     __field(int,                        channel         )
663                     __field(int,               !! 579                     __field(int,                        usage           )
664                     __field(enum rxrpc_client_ !! 580                     __field(enum rxrpc_client_trace,    op              )
665                              ),                   581                              ),
666                                                   582 
667             TP_fast_assign(                       583             TP_fast_assign(
668                     __entry->conn = conn ? con    584                     __entry->conn = conn ? conn->debug_id : 0;
669                     __entry->channel = channel    585                     __entry->channel = channel;
670                     __entry->usage = conn ? re !! 586                     __entry->usage = conn ? atomic_read(&conn->usage) : -2;
671                     __entry->op = op;             587                     __entry->op = op;
672                     __entry->cid = conn ? conn    588                     __entry->cid = conn ? conn->proto.cid : 0;
673                            ),                     589                            ),
674                                                   590 
675             TP_printk("C=%08x h=%2d %s i=%08x     591             TP_printk("C=%08x h=%2d %s i=%08x u=%d",
676                       __entry->conn,              592                       __entry->conn,
677                       __entry->channel,           593                       __entry->channel,
678                       __print_symbolic(__entry    594                       __print_symbolic(__entry->op, rxrpc_client_traces),
679                       __entry->cid,               595                       __entry->cid,
680                       __entry->usage)             596                       __entry->usage)
681             );                                    597             );
682                                                   598 
683 TRACE_EVENT(rxrpc_call,                           599 TRACE_EVENT(rxrpc_call,
684             TP_PROTO(unsigned int call_debug_i !! 600             TP_PROTO(unsigned int call_debug_id, enum rxrpc_call_trace op,
685                      enum rxrpc_call_trace why !! 601                      int usage, const void *where, const void *aux),
686                                                   602 
687             TP_ARGS(call_debug_id, ref, aux, w !! 603             TP_ARGS(call_debug_id, op, usage, where, aux),
688                                                   604 
689             TP_STRUCT__entry(                     605             TP_STRUCT__entry(
690                     __field(unsigned int,      !! 606                     __field(unsigned int,               call            )
691                     __field(int,               !! 607                     __field(int,                        op              )
692                     __field(int,               !! 608                     __field(int,                        usage           )
693                     __field(unsigned long,     !! 609                     __field(const void *,               where           )
                                                   >> 610                     __field(const void *,               aux             )
694                              ),                   611                              ),
695                                                   612 
696             TP_fast_assign(                       613             TP_fast_assign(
697                     __entry->call = call_debug    614                     __entry->call = call_debug_id;
698                     __entry->ref = ref;        !! 615                     __entry->op = op;
699                     __entry->why = why;        !! 616                     __entry->usage = usage;
                                                   >> 617                     __entry->where = where;
700                     __entry->aux = aux;           618                     __entry->aux = aux;
701                            ),                     619                            ),
702                                                   620 
703             TP_printk("c=%08x %s r=%d a=%lx",  !! 621             TP_printk("c=%08x %s u=%d sp=%pSR a=%p",
704                       __entry->call,              622                       __entry->call,
705                       __print_symbolic(__entry !! 623                       __print_symbolic(__entry->op, rxrpc_call_traces),
706                       __entry->ref,            !! 624                       __entry->usage,
                                                   >> 625                       __entry->where,
707                       __entry->aux)               626                       __entry->aux)
708             );                                    627             );
709                                                   628 
710 TRACE_EVENT(rxrpc_skb,                            629 TRACE_EVENT(rxrpc_skb,
711             TP_PROTO(struct sk_buff *skb, int  !! 630             TP_PROTO(struct sk_buff *skb, enum rxrpc_skb_trace op,
712                      enum rxrpc_skb_trace why) !! 631                      int usage, int mod_count, u8 flags,    const void *where),
713                                                   632 
714             TP_ARGS(skb, usage, mod_count, why !! 633             TP_ARGS(skb, op, usage, mod_count, flags, where),
715                                                   634 
716             TP_STRUCT__entry(                     635             TP_STRUCT__entry(
717                     __field(struct sk_buff *,  !! 636                     __field(struct sk_buff *,           skb             )
718                     __field(int,               !! 637                     __field(enum rxrpc_skb_trace,       op              )
719                     __field(int,               !! 638                     __field(u8,                         flags           )
720                     __field(enum rxrpc_skb_tra !! 639                     __field(int,                        usage           )
                                                   >> 640                     __field(int,                        mod_count       )
                                                   >> 641                     __field(const void *,               where           )
721                              ),                   642                              ),
722                                                   643 
723             TP_fast_assign(                       644             TP_fast_assign(
724                     __entry->skb = skb;           645                     __entry->skb = skb;
                                                   >> 646                     __entry->flags = flags;
                                                   >> 647                     __entry->op = op;
725                     __entry->usage = usage;       648                     __entry->usage = usage;
726                     __entry->mod_count = mod_c    649                     __entry->mod_count = mod_count;
727                     __entry->why = why;        !! 650                     __entry->where = where;
728                            ),                     651                            ),
729                                                   652 
730             TP_printk("s=%p Rx %s u=%d m=%d",  !! 653             TP_printk("s=%p %cx %s u=%d m=%d p=%pSR",
731                       __entry->skb,               654                       __entry->skb,
732                       __print_symbolic(__entry !! 655                       __entry->flags & RXRPC_SKB_TX_BUFFER ? 'T' : 'R',
                                                   >> 656                       __print_symbolic(__entry->op, rxrpc_skb_traces),
733                       __entry->usage,             657                       __entry->usage,
734                       __entry->mod_count)      !! 658                       __entry->mod_count,
                                                   >> 659                       __entry->where)
735             );                                    660             );
736                                                   661 
737 TRACE_EVENT(rxrpc_rx_packet,                      662 TRACE_EVENT(rxrpc_rx_packet,
738             TP_PROTO(struct rxrpc_skb_priv *sp    663             TP_PROTO(struct rxrpc_skb_priv *sp),
739                                                   664 
740             TP_ARGS(sp),                          665             TP_ARGS(sp),
741                                                   666 
742             TP_STRUCT__entry(                     667             TP_STRUCT__entry(
743                     __field_struct(struct rxrp !! 668                     __field_struct(struct rxrpc_host_header,    hdr             )
744                              ),                   669                              ),
745                                                   670 
746             TP_fast_assign(                       671             TP_fast_assign(
747                     memcpy(&__entry->hdr, &sp-    672                     memcpy(&__entry->hdr, &sp->hdr, sizeof(__entry->hdr));
748                            ),                     673                            ),
749                                                   674 
750             TP_printk("%08x:%08x:%08x:%04x %08    675             TP_printk("%08x:%08x:%08x:%04x %08x %08x %02x %02x %s",
751                       __entry->hdr.epoch, __en    676                       __entry->hdr.epoch, __entry->hdr.cid,
752                       __entry->hdr.callNumber,    677                       __entry->hdr.callNumber, __entry->hdr.serviceId,
753                       __entry->hdr.serial, __e    678                       __entry->hdr.serial, __entry->hdr.seq,
754                       __entry->hdr.securityInd !! 679                       __entry->hdr.type, __entry->hdr.flags,
755                       __print_symbolic(__entry !! 680                       __entry->hdr.type <= 15 ?
                                                   >> 681                       __print_symbolic(__entry->hdr.type, rxrpc_pkts) : "?UNK")
756             );                                    682             );
757                                                   683 
758 TRACE_EVENT(rxrpc_rx_done,                        684 TRACE_EVENT(rxrpc_rx_done,
759             TP_PROTO(int result, int abort_cod    685             TP_PROTO(int result, int abort_code),
760                                                   686 
761             TP_ARGS(result, abort_code),          687             TP_ARGS(result, abort_code),
762                                                   688 
763             TP_STRUCT__entry(                     689             TP_STRUCT__entry(
764                     __field(int,        result !! 690                     __field(int,                        result          )
765                     __field(int,        abort_ !! 691                     __field(int,                        abort_code      )
766                              ),                   692                              ),
767                                                   693 
768             TP_fast_assign(                       694             TP_fast_assign(
769                     __entry->result = result;     695                     __entry->result = result;
770                     __entry->abort_code = abor    696                     __entry->abort_code = abort_code;
771                            ),                     697                            ),
772                                                   698 
773             TP_printk("r=%d a=%d", __entry->re    699             TP_printk("r=%d a=%d", __entry->result, __entry->abort_code)
774             );                                    700             );
775                                                   701 
776 TRACE_EVENT(rxrpc_abort,                          702 TRACE_EVENT(rxrpc_abort,
777             TP_PROTO(unsigned int call_nr, enu !! 703             TP_PROTO(unsigned int call_nr, const char *why, u32 cid, u32 call_id,
778                      u32 cid, u32 call_id, rxr !! 704                      rxrpc_seq_t seq, int abort_code, int error),
779                                                   705 
780             TP_ARGS(call_nr, why, cid, call_id    706             TP_ARGS(call_nr, why, cid, call_id, seq, abort_code, error),
781                                                   707 
782             TP_STRUCT__entry(                     708             TP_STRUCT__entry(
783                     __field(unsigned int,      !! 709                     __field(unsigned int,               call_nr         )
784                     __field(enum rxrpc_abort_r !! 710                     __array(char,                       why, 4          )
785                     __field(u32,               !! 711                     __field(u32,                        cid             )
786                     __field(u32,               !! 712                     __field(u32,                        call_id         )
787                     __field(rxrpc_seq_t,       !! 713                     __field(rxrpc_seq_t,                seq             )
788                     __field(int,               !! 714                     __field(int,                        abort_code      )
789                     __field(int,               !! 715                     __field(int,                        error           )
790                              ),                   716                              ),
791                                                   717 
792             TP_fast_assign(                       718             TP_fast_assign(
                                                   >> 719                     memcpy(__entry->why, why, 4);
793                     __entry->call_nr = call_nr    720                     __entry->call_nr = call_nr;
794                     __entry->why = why;        << 
795                     __entry->cid = cid;           721                     __entry->cid = cid;
796                     __entry->call_id = call_id    722                     __entry->call_id = call_id;
797                     __entry->abort_code = abor    723                     __entry->abort_code = abort_code;
798                     __entry->error = error;       724                     __entry->error = error;
799                     __entry->seq = seq;           725                     __entry->seq = seq;
800                            ),                     726                            ),
801                                                   727 
802             TP_printk("c=%08x %08x:%08x s=%u a    728             TP_printk("c=%08x %08x:%08x s=%u a=%d e=%d %s",
803                       __entry->call_nr,           729                       __entry->call_nr,
804                       __entry->cid, __entry->c    730                       __entry->cid, __entry->call_id, __entry->seq,
805                       __entry->abort_code, __e !! 731                       __entry->abort_code, __entry->error, __entry->why)
806                       __print_symbolic(__entry << 
807             );                                    732             );
808                                                   733 
809 TRACE_EVENT(rxrpc_call_complete,                  734 TRACE_EVENT(rxrpc_call_complete,
810             TP_PROTO(struct rxrpc_call *call),    735             TP_PROTO(struct rxrpc_call *call),
811                                                   736 
812             TP_ARGS(call),                        737             TP_ARGS(call),
813                                                   738 
814             TP_STRUCT__entry(                     739             TP_STRUCT__entry(
815                     __field(unsigned int,      !! 740                     __field(unsigned int,               call            )
816                     __field(enum rxrpc_call_co !! 741                     __field(enum rxrpc_call_completion, compl           )
817                     __field(int,               !! 742                     __field(int,                        error           )
818                     __field(u32,               !! 743                     __field(u32,                        abort_code      )
819                              ),                   744                              ),
820                                                   745 
821             TP_fast_assign(                       746             TP_fast_assign(
822                     __entry->call = call->debu    747                     __entry->call = call->debug_id;
823                     __entry->compl = call->com    748                     __entry->compl = call->completion;
824                     __entry->error = call->err    749                     __entry->error = call->error;
825                     __entry->abort_code = call    750                     __entry->abort_code = call->abort_code;
826                            ),                     751                            ),
827                                                   752 
828             TP_printk("c=%08x %s r=%d ac=%d",     753             TP_printk("c=%08x %s r=%d ac=%d",
829                       __entry->call,              754                       __entry->call,
830                       __print_symbolic(__entry    755                       __print_symbolic(__entry->compl, rxrpc_completions),
831                       __entry->error,             756                       __entry->error,
832                       __entry->abort_code)        757                       __entry->abort_code)
833             );                                    758             );
834                                                   759 
835 TRACE_EVENT(rxrpc_txqueue,                     !! 760 TRACE_EVENT(rxrpc_transmit,
836             TP_PROTO(struct rxrpc_call *call,  !! 761             TP_PROTO(struct rxrpc_call *call, enum rxrpc_transmit_trace why),
837                                                   762 
838             TP_ARGS(call, why),                   763             TP_ARGS(call, why),
839                                                   764 
840             TP_STRUCT__entry(                     765             TP_STRUCT__entry(
841                     __field(unsigned int,      !! 766                     __field(unsigned int,               call            )
842                     __field(enum rxrpc_txqueue !! 767                     __field(enum rxrpc_transmit_trace,  why             )
843                     __field(rxrpc_seq_t,       !! 768                     __field(rxrpc_seq_t,                tx_hard_ack     )
844                     __field(rxrpc_seq_t,       !! 769                     __field(rxrpc_seq_t,                tx_top          )
845                     __field(rxrpc_seq_t,       !! 770                     __field(int,                        tx_winsize      )
846                     __field(rxrpc_seq_t,       << 
847                     __field(int,               << 
848                              ),                   771                              ),
849                                                   772 
850             TP_fast_assign(                       773             TP_fast_assign(
851                     __entry->call = call->debu    774                     __entry->call = call->debug_id;
852                     __entry->why = why;           775                     __entry->why = why;
853                     __entry->acks_hard_ack = c !! 776                     __entry->tx_hard_ack = call->tx_hard_ack;
854                     __entry->tx_bottom = call- << 
855                     __entry->tx_top = call->tx    777                     __entry->tx_top = call->tx_top;
856                     __entry->tx_prepared = cal << 
857                     __entry->tx_winsize = call    778                     __entry->tx_winsize = call->tx_winsize;
858                            ),                     779                            ),
859                                                   780 
860             TP_printk("c=%08x %s f=%08x h=%08x !! 781             TP_printk("c=%08x %s f=%08x n=%u/%u",
861                       __entry->call,              782                       __entry->call,
862                       __print_symbolic(__entry !! 783                       __print_symbolic(__entry->why, rxrpc_transmit_traces),
863                       __entry->tx_bottom,      !! 784                       __entry->tx_hard_ack + 1,
864                       __entry->acks_hard_ack,  !! 785                       __entry->tx_top - __entry->tx_hard_ack,
865                       __entry->tx_top - __entr << 
866                       __entry->tx_top - __entr << 
867                       __entry->tx_prepared - _ << 
868                       __entry->tx_winsize)        786                       __entry->tx_winsize)
869             );                                    787             );
870                                                   788 
871 TRACE_EVENT(rxrpc_rx_data,                        789 TRACE_EVENT(rxrpc_rx_data,
872             TP_PROTO(unsigned int call, rxrpc_    790             TP_PROTO(unsigned int call, rxrpc_seq_t seq,
873                      rxrpc_serial_t serial, u8 !! 791                      rxrpc_serial_t serial, u8 flags, u8 anno),
874                                                   792 
875             TP_ARGS(call, seq, serial, flags), !! 793             TP_ARGS(call, seq, serial, flags, anno),
876                                                   794 
877             TP_STRUCT__entry(                     795             TP_STRUCT__entry(
878                     __field(unsigned int,      !! 796                     __field(unsigned int,               call            )
879                     __field(rxrpc_seq_t,       !! 797                     __field(rxrpc_seq_t,                seq             )
880                     __field(rxrpc_serial_t,    !! 798                     __field(rxrpc_serial_t,             serial          )
881                     __field(u8,                !! 799                     __field(u8,                         flags           )
                                                   >> 800                     __field(u8,                         anno            )
882                              ),                   801                              ),
883                                                   802 
884             TP_fast_assign(                       803             TP_fast_assign(
885                     __entry->call = call;         804                     __entry->call = call;
886                     __entry->seq = seq;           805                     __entry->seq = seq;
887                     __entry->serial = serial;     806                     __entry->serial = serial;
888                     __entry->flags = flags;       807                     __entry->flags = flags;
                                                   >> 808                     __entry->anno = anno;
889                            ),                     809                            ),
890                                                   810 
891             TP_printk("c=%08x DATA %08x q=%08x !! 811             TP_printk("c=%08x DATA %08x q=%08x fl=%02x a=%02x",
892                       __entry->call,              812                       __entry->call,
893                       __entry->serial,            813                       __entry->serial,
894                       __entry->seq,               814                       __entry->seq,
895                       __entry->flags)          !! 815                       __entry->flags,
                                                   >> 816                       __entry->anno)
896             );                                    817             );
897                                                   818 
898 TRACE_EVENT(rxrpc_rx_ack,                         819 TRACE_EVENT(rxrpc_rx_ack,
899             TP_PROTO(struct rxrpc_call *call,     820             TP_PROTO(struct rxrpc_call *call,
900                      rxrpc_serial_t serial, rx    821                      rxrpc_serial_t serial, rxrpc_serial_t ack_serial,
901                      rxrpc_seq_t first, rxrpc_    822                      rxrpc_seq_t first, rxrpc_seq_t prev, u8 reason, u8 n_acks),
902                                                   823 
903             TP_ARGS(call, serial, ack_serial,     824             TP_ARGS(call, serial, ack_serial, first, prev, reason, n_acks),
904                                                   825 
905             TP_STRUCT__entry(                     826             TP_STRUCT__entry(
906                     __field(unsigned int,      !! 827                     __field(unsigned int,               call            )
907                     __field(rxrpc_serial_t,    !! 828                     __field(rxrpc_serial_t,             serial          )
908                     __field(rxrpc_serial_t,    !! 829                     __field(rxrpc_serial_t,             ack_serial      )
909                     __field(rxrpc_seq_t,       !! 830                     __field(rxrpc_seq_t,                first           )
910                     __field(rxrpc_seq_t,       !! 831                     __field(rxrpc_seq_t,                prev            )
911                     __field(u8,                !! 832                     __field(u8,                         reason          )
912                     __field(u8,                !! 833                     __field(u8,                         n_acks          )
913                              ),                   834                              ),
914                                                   835 
915             TP_fast_assign(                       836             TP_fast_assign(
916                     __entry->call = call->debu    837                     __entry->call = call->debug_id;
917                     __entry->serial = serial;     838                     __entry->serial = serial;
918                     __entry->ack_serial = ack_    839                     __entry->ack_serial = ack_serial;
919                     __entry->first = first;       840                     __entry->first = first;
920                     __entry->prev = prev;         841                     __entry->prev = prev;
921                     __entry->reason = reason;     842                     __entry->reason = reason;
922                     __entry->n_acks = n_acks;     843                     __entry->n_acks = n_acks;
923                            ),                     844                            ),
924                                                   845 
925             TP_printk("c=%08x %08x %s r=%08x f    846             TP_printk("c=%08x %08x %s r=%08x f=%08x p=%08x n=%u",
926                       __entry->call,              847                       __entry->call,
927                       __entry->serial,            848                       __entry->serial,
928                       __print_symbolic(__entry    849                       __print_symbolic(__entry->reason, rxrpc_ack_names),
929                       __entry->ack_serial,        850                       __entry->ack_serial,
930                       __entry->first,             851                       __entry->first,
931                       __entry->prev,              852                       __entry->prev,
932                       __entry->n_acks)            853                       __entry->n_acks)
933             );                                    854             );
934                                                   855 
935 TRACE_EVENT(rxrpc_rx_abort,                       856 TRACE_EVENT(rxrpc_rx_abort,
936             TP_PROTO(struct rxrpc_call *call,     857             TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial,
937                      u32 abort_code),             858                      u32 abort_code),
938                                                   859 
939             TP_ARGS(call, serial, abort_code),    860             TP_ARGS(call, serial, abort_code),
940                                                   861 
941             TP_STRUCT__entry(                     862             TP_STRUCT__entry(
942                     __field(unsigned int,      !! 863                     __field(unsigned int,               call            )
943                     __field(rxrpc_serial_t,    !! 864                     __field(rxrpc_serial_t,             serial          )
944                     __field(u32,               !! 865                     __field(u32,                        abort_code      )
945                              ),                   866                              ),
946                                                   867 
947             TP_fast_assign(                       868             TP_fast_assign(
948                     __entry->call = call->debu    869                     __entry->call = call->debug_id;
949                     __entry->serial = serial;     870                     __entry->serial = serial;
950                     __entry->abort_code = abor    871                     __entry->abort_code = abort_code;
951                            ),                     872                            ),
952                                                   873 
953             TP_printk("c=%08x ABORT %08x ac=%d    874             TP_printk("c=%08x ABORT %08x ac=%d",
954                       __entry->call,              875                       __entry->call,
955                       __entry->serial,            876                       __entry->serial,
956                       __entry->abort_code)        877                       __entry->abort_code)
957             );                                    878             );
958                                                   879 
959 TRACE_EVENT(rxrpc_rx_challenge,                << 
960             TP_PROTO(struct rxrpc_connection * << 
961                      u32 version, u32 nonce, u << 
962                                                << 
963             TP_ARGS(conn, serial, version, non << 
964                                                << 
965             TP_STRUCT__entry(                  << 
966                     __field(unsigned int,      << 
967                     __field(rxrpc_serial_t,    << 
968                     __field(u32,               << 
969                     __field(u32,               << 
970                     __field(u32,               << 
971                              ),                << 
972                                                << 
973             TP_fast_assign(                    << 
974                     __entry->conn = conn->debu << 
975                     __entry->serial = serial;  << 
976                     __entry->version = version << 
977                     __entry->nonce = nonce;    << 
978                     __entry->min_level = min_l << 
979                            ),                  << 
980                                                << 
981             TP_printk("C=%08x CHALLENGE %08x v << 
982                       __entry->conn,           << 
983                       __entry->serial,         << 
984                       __entry->version,        << 
985                       __entry->nonce,          << 
986                       __entry->min_level)      << 
987             );                                 << 
988                                                << 
989 TRACE_EVENT(rxrpc_rx_response,                 << 
990             TP_PROTO(struct rxrpc_connection * << 
991                      u32 version, u32 kvno, u3 << 
992                                                << 
993             TP_ARGS(conn, serial, version, kvn << 
994                                                << 
995             TP_STRUCT__entry(                  << 
996                     __field(unsigned int,      << 
997                     __field(rxrpc_serial_t,    << 
998                     __field(u32,               << 
999                     __field(u32,               << 
1000                     __field(u32,              << 
1001                              ),               << 
1002                                               << 
1003             TP_fast_assign(                   << 
1004                     __entry->conn = conn->deb << 
1005                     __entry->serial = serial; << 
1006                     __entry->version = versio << 
1007                     __entry->kvno = kvno;     << 
1008                     __entry->ticket_len = tic << 
1009                            ),                 << 
1010                                               << 
1011             TP_printk("C=%08x RESPONSE %08x v << 
1012                       __entry->conn,          << 
1013                       __entry->serial,        << 
1014                       __entry->version,       << 
1015                       __entry->kvno,          << 
1016                       __entry->ticket_len)    << 
1017             );                                << 
1018                                               << 
1019 TRACE_EVENT(rxrpc_rx_rwind_change,               880 TRACE_EVENT(rxrpc_rx_rwind_change,
1020             TP_PROTO(struct rxrpc_call *call,    881             TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial,
1021                      u32 rwind, bool wake),      882                      u32 rwind, bool wake),
1022                                                  883 
1023             TP_ARGS(call, serial, rwind, wake    884             TP_ARGS(call, serial, rwind, wake),
1024                                                  885 
1025             TP_STRUCT__entry(                    886             TP_STRUCT__entry(
1026                     __field(unsigned int,     !! 887                     __field(unsigned int,               call            )
1027                     __field(rxrpc_serial_t,   !! 888                     __field(rxrpc_serial_t,             serial          )
1028                     __field(u32,              !! 889                     __field(u32,                        rwind           )
1029                     __field(bool,             !! 890                     __field(bool,                       wake            )
1030                              ),                  891                              ),
1031                                                  892 
1032             TP_fast_assign(                      893             TP_fast_assign(
1033                     __entry->call = call->deb    894                     __entry->call = call->debug_id;
1034                     __entry->serial = serial;    895                     __entry->serial = serial;
1035                     __entry->rwind = rwind;      896                     __entry->rwind = rwind;
1036                     __entry->wake = wake;        897                     __entry->wake = wake;
1037                            ),                    898                            ),
1038                                                  899 
1039             TP_printk("c=%08x %08x rw=%u%s",     900             TP_printk("c=%08x %08x rw=%u%s",
1040                       __entry->call,             901                       __entry->call,
1041                       __entry->serial,           902                       __entry->serial,
1042                       __entry->rwind,            903                       __entry->rwind,
1043                       __entry->wake ? " wake"    904                       __entry->wake ? " wake" : "")
1044             );                                   905             );
1045                                                  906 
1046 TRACE_EVENT(rxrpc_tx_packet,                     907 TRACE_EVENT(rxrpc_tx_packet,
1047             TP_PROTO(unsigned int call_id, st    908             TP_PROTO(unsigned int call_id, struct rxrpc_wire_header *whdr,
1048                      enum rxrpc_tx_point wher    909                      enum rxrpc_tx_point where),
1049                                                  910 
1050             TP_ARGS(call_id, whdr, where),       911             TP_ARGS(call_id, whdr, where),
1051                                                  912 
1052             TP_STRUCT__entry(                    913             TP_STRUCT__entry(
1053                     __field(unsigned int,     !! 914                     __field(unsigned int,                       call    )
1054                     __field(enum rxrpc_tx_poi !! 915                     __field(enum rxrpc_tx_point,                where   )
1055                     __field_struct(struct rxr !! 916                     __field_struct(struct rxrpc_wire_header,    whdr    )
1056                              ),                  917                              ),
1057                                                  918 
1058             TP_fast_assign(                      919             TP_fast_assign(
1059                     __entry->call = call_id;     920                     __entry->call = call_id;
1060                     memcpy(&__entry->whdr, wh    921                     memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr));
1061                     __entry->where = where;      922                     __entry->where = where;
1062                            ),                    923                            ),
1063                                                  924 
1064             TP_printk("c=%08x %08x:%08x:%08x:    925             TP_printk("c=%08x %08x:%08x:%08x:%04x %08x %08x %02x %02x %s %s",
1065                       __entry->call,             926                       __entry->call,
1066                       ntohl(__entry->whdr.epo    927                       ntohl(__entry->whdr.epoch),
1067                       ntohl(__entry->whdr.cid    928                       ntohl(__entry->whdr.cid),
1068                       ntohl(__entry->whdr.cal    929                       ntohl(__entry->whdr.callNumber),
1069                       ntohs(__entry->whdr.ser    930                       ntohs(__entry->whdr.serviceId),
1070                       ntohl(__entry->whdr.ser    931                       ntohl(__entry->whdr.serial),
1071                       ntohl(__entry->whdr.seq    932                       ntohl(__entry->whdr.seq),
1072                       __entry->whdr.type, __e    933                       __entry->whdr.type, __entry->whdr.flags,
1073                       __entry->whdr.type <= 1    934                       __entry->whdr.type <= 15 ?
1074                       __print_symbolic(__entr    935                       __print_symbolic(__entry->whdr.type, rxrpc_pkts) : "?UNK",
1075                       __print_symbolic(__entr    936                       __print_symbolic(__entry->where, rxrpc_tx_points))
1076             );                                   937             );
1077                                                  938 
1078 TRACE_EVENT(rxrpc_tx_data,                       939 TRACE_EVENT(rxrpc_tx_data,
1079             TP_PROTO(struct rxrpc_call *call,    940             TP_PROTO(struct rxrpc_call *call, rxrpc_seq_t seq,
1080                      rxrpc_serial_t serial, u !! 941                      rxrpc_serial_t serial, u8 flags, bool retrans, bool lose),
1081                                                  942 
1082             TP_ARGS(call, seq, serial, flags, !! 943             TP_ARGS(call, seq, serial, flags, retrans, lose),
1083                                                  944 
1084             TP_STRUCT__entry(                    945             TP_STRUCT__entry(
1085                     __field(unsigned int,     !! 946                     __field(unsigned int,               call            )
1086                     __field(rxrpc_seq_t,      !! 947                     __field(rxrpc_seq_t,                seq             )
1087                     __field(rxrpc_serial_t,   !! 948                     __field(rxrpc_serial_t,             serial          )
1088                     __field(u32,              !! 949                     __field(u32,                        cid             )
1089                     __field(u32,              !! 950                     __field(u32,                        call_id         )
1090                     __field(u16,              !! 951                     __field(u8,                         flags           )
1091                     __field(bool,             !! 952                     __field(bool,                       retrans         )
                                                   >> 953                     __field(bool,                       lose            )
1092                              ),                  954                              ),
1093                                                  955 
1094             TP_fast_assign(                      956             TP_fast_assign(
1095                     __entry->call = call->deb    957                     __entry->call = call->debug_id;
1096                     __entry->cid = call->cid;    958                     __entry->cid = call->cid;
1097                     __entry->call_id = call->    959                     __entry->call_id = call->call_id;
1098                     __entry->seq = seq;          960                     __entry->seq = seq;
1099                     __entry->serial = serial;    961                     __entry->serial = serial;
1100                     __entry->flags = flags;      962                     __entry->flags = flags;
                                                   >> 963                     __entry->retrans = retrans;
1101                     __entry->lose = lose;        964                     __entry->lose = lose;
1102                            ),                    965                            ),
1103                                                  966 
1104             TP_printk("c=%08x DATA %08x:%08x     967             TP_printk("c=%08x DATA %08x:%08x %08x q=%08x fl=%02x%s%s",
1105                       __entry->call,             968                       __entry->call,
1106                       __entry->cid,              969                       __entry->cid,
1107                       __entry->call_id,          970                       __entry->call_id,
1108                       __entry->serial,           971                       __entry->serial,
1109                       __entry->seq,              972                       __entry->seq,
1110                       __entry->flags & RXRPC_ !! 973                       __entry->flags,
1111                       __entry->flags & RXRPC_ !! 974                       __entry->retrans ? " *RETRANS*" : "",
1112                       __entry->lose ? " *LOSE    975                       __entry->lose ? " *LOSE*" : "")
1113             );                                   976             );
1114                                                  977 
1115 TRACE_EVENT(rxrpc_tx_ack,                        978 TRACE_EVENT(rxrpc_tx_ack,
1116             TP_PROTO(unsigned int call, rxrpc    979             TP_PROTO(unsigned int call, rxrpc_serial_t serial,
1117                      rxrpc_seq_t ack_first, r    980                      rxrpc_seq_t ack_first, rxrpc_serial_t ack_serial,
1118                      u8 reason, u8 n_acks, u1 !! 981                      u8 reason, u8 n_acks),
1119                                                  982 
1120             TP_ARGS(call, serial, ack_first,  !! 983             TP_ARGS(call, serial, ack_first, ack_serial, reason, n_acks),
1121                                                  984 
1122             TP_STRUCT__entry(                    985             TP_STRUCT__entry(
1123                     __field(unsigned int,     !! 986                     __field(unsigned int,               call            )
1124                     __field(rxrpc_serial_t,   !! 987                     __field(rxrpc_serial_t,             serial          )
1125                     __field(rxrpc_seq_t,      !! 988                     __field(rxrpc_seq_t,                ack_first       )
1126                     __field(rxrpc_serial_t,   !! 989                     __field(rxrpc_serial_t,             ack_serial      )
1127                     __field(u8,               !! 990                     __field(u8,                         reason          )
1128                     __field(u8,               !! 991                     __field(u8,                         n_acks          )
1129                     __field(u16,              << 
1130                              ),                  992                              ),
1131                                                  993 
1132             TP_fast_assign(                      994             TP_fast_assign(
1133                     __entry->call = call;        995                     __entry->call = call;
1134                     __entry->serial = serial;    996                     __entry->serial = serial;
1135                     __entry->ack_first = ack_    997                     __entry->ack_first = ack_first;
1136                     __entry->ack_serial = ack    998                     __entry->ack_serial = ack_serial;
1137                     __entry->reason = reason;    999                     __entry->reason = reason;
1138                     __entry->n_acks = n_acks;    1000                     __entry->n_acks = n_acks;
1139                     __entry->rwind = rwind;   << 
1140                            ),                    1001                            ),
1141                                                  1002 
1142             TP_printk(" c=%08x ACK  %08x %s f !! 1003             TP_printk(" c=%08x ACK  %08x %s f=%08x r=%08x n=%u",
1143                       __entry->call,             1004                       __entry->call,
1144                       __entry->serial,           1005                       __entry->serial,
1145                       __print_symbolic(__entr    1006                       __print_symbolic(__entry->reason, rxrpc_ack_names),
1146                       __entry->ack_first,        1007                       __entry->ack_first,
1147                       __entry->ack_serial,       1008                       __entry->ack_serial,
1148                       __entry->n_acks,        !! 1009                       __entry->n_acks)
1149                       __entry->rwind)         << 
1150             );                                   1010             );
1151                                                  1011 
1152 TRACE_EVENT(rxrpc_receive,                       1012 TRACE_EVENT(rxrpc_receive,
1153             TP_PROTO(struct rxrpc_call *call,    1013             TP_PROTO(struct rxrpc_call *call, enum rxrpc_receive_trace why,
1154                      rxrpc_serial_t serial, r    1014                      rxrpc_serial_t serial, rxrpc_seq_t seq),
1155                                                  1015 
1156             TP_ARGS(call, why, serial, seq),     1016             TP_ARGS(call, why, serial, seq),
1157                                                  1017 
1158             TP_STRUCT__entry(                    1018             TP_STRUCT__entry(
1159                     __field(unsigned int,     !! 1019                     __field(unsigned int,               call            )
1160                     __field(enum rxrpc_receiv !! 1020                     __field(enum rxrpc_receive_trace,   why             )
1161                     __field(rxrpc_serial_t,   !! 1021                     __field(rxrpc_serial_t,             serial          )
1162                     __field(rxrpc_seq_t,      !! 1022                     __field(rxrpc_seq_t,                seq             )
1163                     __field(rxrpc_seq_t,      !! 1023                     __field(rxrpc_seq_t,                hard_ack        )
1164                     __field(rxrpc_seq_t,      !! 1024                     __field(rxrpc_seq_t,                top             )
1165                              ),                  1025                              ),
1166                                                  1026 
1167             TP_fast_assign(                      1027             TP_fast_assign(
1168                     __entry->call = call->deb    1028                     __entry->call = call->debug_id;
1169                     __entry->why = why;          1029                     __entry->why = why;
1170                     __entry->serial = serial;    1030                     __entry->serial = serial;
1171                     __entry->seq = seq;          1031                     __entry->seq = seq;
1172                     __entry->window = call->a !! 1032                     __entry->hard_ack = call->rx_hard_ack;
1173                     __entry->wtop = call->ack !! 1033                     __entry->top = call->rx_top;
1174                            ),                    1034                            ),
1175                                                  1035 
1176             TP_printk("c=%08x %s r=%08x q=%08    1036             TP_printk("c=%08x %s r=%08x q=%08x w=%08x-%08x",
1177                       __entry->call,             1037                       __entry->call,
1178                       __print_symbolic(__entr    1038                       __print_symbolic(__entry->why, rxrpc_receive_traces),
1179                       __entry->serial,           1039                       __entry->serial,
1180                       __entry->seq,              1040                       __entry->seq,
1181                       __entry->window,        !! 1041                       __entry->hard_ack,
1182                       __entry->wtop)          !! 1042                       __entry->top)
1183             );                                   1043             );
1184                                                  1044 
1185 TRACE_EVENT(rxrpc_recvmsg,                       1045 TRACE_EVENT(rxrpc_recvmsg,
1186             TP_PROTO(unsigned int call_debug_ << 
1187                      int ret),                << 
1188                                               << 
1189             TP_ARGS(call_debug_id, why, ret), << 
1190                                               << 
1191             TP_STRUCT__entry(                 << 
1192                     __field(unsigned int,     << 
1193                     __field(enum rxrpc_recvms << 
1194                     __field(int,              << 
1195                              ),               << 
1196                                               << 
1197             TP_fast_assign(                   << 
1198                     __entry->call = call_debu << 
1199                     __entry->why = why;       << 
1200                     __entry->ret = ret;       << 
1201                            ),                 << 
1202                                               << 
1203             TP_printk("c=%08x %s ret=%d",     << 
1204                       __entry->call,          << 
1205                       __print_symbolic(__entr << 
1206                       __entry->ret)           << 
1207             );                                << 
1208                                               << 
1209 TRACE_EVENT(rxrpc_recvdata,                   << 
1210             TP_PROTO(struct rxrpc_call *call,    1046             TP_PROTO(struct rxrpc_call *call, enum rxrpc_recvmsg_trace why,
1211                      rxrpc_seq_t seq, unsigne    1047                      rxrpc_seq_t seq, unsigned int offset, unsigned int len,
1212                      int ret),                   1048                      int ret),
1213                                                  1049 
1214             TP_ARGS(call, why, seq, offset, l    1050             TP_ARGS(call, why, seq, offset, len, ret),
1215                                                  1051 
1216             TP_STRUCT__entry(                    1052             TP_STRUCT__entry(
1217                     __field(unsigned int,     !! 1053                     __field(unsigned int,               call            )
1218                     __field(enum rxrpc_recvms !! 1054                     __field(enum rxrpc_recvmsg_trace,   why             )
1219                     __field(rxrpc_seq_t,      !! 1055                     __field(rxrpc_seq_t,                seq             )
1220                     __field(unsigned int,     !! 1056                     __field(unsigned int,               offset          )
1221                     __field(unsigned int,     !! 1057                     __field(unsigned int,               len             )
1222                     __field(int,              !! 1058                     __field(int,                        ret             )
1223                              ),                  1059                              ),
1224                                                  1060 
1225             TP_fast_assign(                      1061             TP_fast_assign(
1226                     __entry->call = call ? ca    1062                     __entry->call = call ? call->debug_id : 0;
1227                     __entry->why = why;          1063                     __entry->why = why;
1228                     __entry->seq = seq;          1064                     __entry->seq = seq;
1229                     __entry->offset = offset;    1065                     __entry->offset = offset;
1230                     __entry->len = len;          1066                     __entry->len = len;
1231                     __entry->ret = ret;          1067                     __entry->ret = ret;
1232                            ),                    1068                            ),
1233                                                  1069 
1234             TP_printk("c=%08x %s q=%08x o=%u     1070             TP_printk("c=%08x %s q=%08x o=%u l=%u ret=%d",
1235                       __entry->call,             1071                       __entry->call,
1236                       __print_symbolic(__entr    1072                       __print_symbolic(__entry->why, rxrpc_recvmsg_traces),
1237                       __entry->seq,              1073                       __entry->seq,
1238                       __entry->offset,           1074                       __entry->offset,
1239                       __entry->len,              1075                       __entry->len,
1240                       __entry->ret)              1076                       __entry->ret)
1241             );                                   1077             );
1242                                                  1078 
1243 TRACE_EVENT(rxrpc_rtt_tx,                        1079 TRACE_EVENT(rxrpc_rtt_tx,
1244             TP_PROTO(struct rxrpc_call *call,    1080             TP_PROTO(struct rxrpc_call *call, enum rxrpc_rtt_tx_trace why,
1245                      int slot, rxrpc_serial_t    1081                      int slot, rxrpc_serial_t send_serial),
1246                                                  1082 
1247             TP_ARGS(call, why, slot, send_ser    1083             TP_ARGS(call, why, slot, send_serial),
1248                                                  1084 
1249             TP_STRUCT__entry(                    1085             TP_STRUCT__entry(
1250                     __field(unsigned int,     !! 1086                     __field(unsigned int,               call            )
1251                     __field(enum rxrpc_rtt_tx !! 1087                     __field(enum rxrpc_rtt_tx_trace,    why             )
1252                     __field(int,              !! 1088                     __field(int,                        slot            )
1253                     __field(rxrpc_serial_t,   !! 1089                     __field(rxrpc_serial_t,             send_serial     )
1254                              ),                  1090                              ),
1255                                                  1091 
1256             TP_fast_assign(                      1092             TP_fast_assign(
1257                     __entry->call = call->deb    1093                     __entry->call = call->debug_id;
1258                     __entry->why = why;          1094                     __entry->why = why;
1259                     __entry->slot = slot;        1095                     __entry->slot = slot;
1260                     __entry->send_serial = se    1096                     __entry->send_serial = send_serial;
1261                            ),                    1097                            ),
1262                                                  1098 
1263             TP_printk("c=%08x [%d] %s sr=%08x    1099             TP_printk("c=%08x [%d] %s sr=%08x",
1264                       __entry->call,             1100                       __entry->call,
1265                       __entry->slot,             1101                       __entry->slot,
1266                       __print_symbolic(__entr    1102                       __print_symbolic(__entry->why, rxrpc_rtt_tx_traces),
1267                       __entry->send_serial)      1103                       __entry->send_serial)
1268             );                                   1104             );
1269                                                  1105 
1270 TRACE_EVENT(rxrpc_rtt_rx,                        1106 TRACE_EVENT(rxrpc_rtt_rx,
1271             TP_PROTO(struct rxrpc_call *call,    1107             TP_PROTO(struct rxrpc_call *call, enum rxrpc_rtt_rx_trace why,
1272                      int slot,                   1108                      int slot,
1273                      rxrpc_serial_t send_seri    1109                      rxrpc_serial_t send_serial, rxrpc_serial_t resp_serial,
1274                      u32 rtt, u32 rto),          1110                      u32 rtt, u32 rto),
1275                                                  1111 
1276             TP_ARGS(call, why, slot, send_ser    1112             TP_ARGS(call, why, slot, send_serial, resp_serial, rtt, rto),
1277                                                  1113 
1278             TP_STRUCT__entry(                    1114             TP_STRUCT__entry(
1279                     __field(unsigned int,     !! 1115                     __field(unsigned int,               call            )
1280                     __field(enum rxrpc_rtt_rx !! 1116                     __field(enum rxrpc_rtt_rx_trace,    why             )
1281                     __field(int,              !! 1117                     __field(int,                        slot            )
1282                     __field(rxrpc_serial_t,   !! 1118                     __field(rxrpc_serial_t,             send_serial     )
1283                     __field(rxrpc_serial_t,   !! 1119                     __field(rxrpc_serial_t,             resp_serial     )
1284                     __field(u32,              !! 1120                     __field(u32,                        rtt             )
1285                     __field(u32,              !! 1121                     __field(u32,                        rto             )
1286                              ),                  1122                              ),
1287                                                  1123 
1288             TP_fast_assign(                      1124             TP_fast_assign(
1289                     __entry->call = call->deb    1125                     __entry->call = call->debug_id;
1290                     __entry->why = why;          1126                     __entry->why = why;
1291                     __entry->slot = slot;        1127                     __entry->slot = slot;
1292                     __entry->send_serial = se    1128                     __entry->send_serial = send_serial;
1293                     __entry->resp_serial = re    1129                     __entry->resp_serial = resp_serial;
1294                     __entry->rtt = rtt;          1130                     __entry->rtt = rtt;
1295                     __entry->rto = rto;          1131                     __entry->rto = rto;
1296                            ),                    1132                            ),
1297                                                  1133 
1298             TP_printk("c=%08x [%d] %s sr=%08x    1134             TP_printk("c=%08x [%d] %s sr=%08x rr=%08x rtt=%u rto=%u",
1299                       __entry->call,             1135                       __entry->call,
1300                       __entry->slot,             1136                       __entry->slot,
1301                       __print_symbolic(__entr    1137                       __print_symbolic(__entry->why, rxrpc_rtt_rx_traces),
1302                       __entry->send_serial,      1138                       __entry->send_serial,
1303                       __entry->resp_serial,      1139                       __entry->resp_serial,
1304                       __entry->rtt,              1140                       __entry->rtt,
1305                       __entry->rto)              1141                       __entry->rto)
1306             );                                   1142             );
1307                                                  1143 
1308 TRACE_EVENT(rxrpc_timer_set,                  !! 1144 TRACE_EVENT(rxrpc_timer,
1309             TP_PROTO(struct rxrpc_call *call, !! 1145             TP_PROTO(struct rxrpc_call *call, enum rxrpc_timer_trace why,
1310                      enum rxrpc_timer_trace w !! 1146                      unsigned long now),
1311                                               !! 1147 
1312             TP_ARGS(call, delay, why),        !! 1148             TP_ARGS(call, why, now),
1313                                               !! 1149 
1314             TP_STRUCT__entry(                 !! 1150             TP_STRUCT__entry(
1315                     __field(unsigned int,     !! 1151                     __field(unsigned int,                       call            )
1316                     __field(enum rxrpc_timer_ !! 1152                     __field(enum rxrpc_timer_trace,             why             )
1317                     __field(ktime_t,          !! 1153                     __field(long,                               now             )
1318                              ),               !! 1154                     __field(long,                               ack_at          )
1319                                               !! 1155                     __field(long,                               ack_lost_at     )
1320             TP_fast_assign(                   !! 1156                     __field(long,                               resend_at       )
1321                     __entry->call             !! 1157                     __field(long,                               ping_at         )
1322                     __entry->why              !! 1158                     __field(long,                               expect_rx_by    )
1323                     __entry->delay            !! 1159                     __field(long,                               expect_req_by   )
1324                            ),                 !! 1160                     __field(long,                               expect_term_by  )
1325                                               !! 1161                     __field(long,                               timer           )
1326             TP_printk("c=%08x %s to=%lld",    << 
1327                       __entry->call,          << 
1328                       __print_symbolic(__entr << 
1329                       ktime_to_us(__entry->de << 
1330             );                                << 
1331                                               << 
1332 TRACE_EVENT(rxrpc_timer_exp,                  << 
1333             TP_PROTO(struct rxrpc_call *call, << 
1334                      enum rxrpc_timer_trace w << 
1335                                               << 
1336             TP_ARGS(call, delay, why),        << 
1337                                               << 
1338             TP_STRUCT__entry(                 << 
1339                     __field(unsigned int,     << 
1340                     __field(enum rxrpc_timer_ << 
1341                     __field(ktime_t,          << 
1342                              ),                  1162                              ),
1343                                                  1163 
1344             TP_fast_assign(                      1164             TP_fast_assign(
1345                     __entry->call                1165                     __entry->call               = call->debug_id;
1346                     __entry->why                 1166                     __entry->why                = why;
1347                     __entry->delay            !! 1167                     __entry->now                = now;
                                                   >> 1168                     __entry->ack_at             = call->ack_at;
                                                   >> 1169                     __entry->ack_lost_at        = call->ack_lost_at;
                                                   >> 1170                     __entry->resend_at          = call->resend_at;
                                                   >> 1171                     __entry->expect_rx_by       = call->expect_rx_by;
                                                   >> 1172                     __entry->expect_req_by      = call->expect_req_by;
                                                   >> 1173                     __entry->expect_term_by     = call->expect_term_by;
                                                   >> 1174                     __entry->timer              = call->timer.expires;
1348                            ),                    1175                            ),
1349                                                  1176 
1350             TP_printk("c=%08x %s to=%lld",    !! 1177             TP_printk("c=%08x %s a=%ld la=%ld r=%ld xr=%ld xq=%ld xt=%ld t=%ld",
1351                       __entry->call,             1178                       __entry->call,
1352                       __print_symbolic(__entr    1179                       __print_symbolic(__entry->why, rxrpc_timer_traces),
1353                       ktime_to_us(__entry->de !! 1180                       __entry->ack_at - __entry->now,
1354             );                                !! 1181                       __entry->ack_lost_at - __entry->now,
1355                                               !! 1182                       __entry->resend_at - __entry->now,
1356 TRACE_EVENT(rxrpc_timer_can,                  !! 1183                       __entry->expect_rx_by - __entry->now,
1357             TP_PROTO(struct rxrpc_call *call, !! 1184                       __entry->expect_req_by - __entry->now,
1358                                               !! 1185                       __entry->expect_term_by - __entry->now,
1359             TP_ARGS(call, why),               !! 1186                       __entry->timer - __entry->now)
1360                                               << 
1361             TP_STRUCT__entry(                 << 
1362                     __field(unsigned int,     << 
1363                     __field(enum rxrpc_timer_ << 
1364                              ),               << 
1365                                               << 
1366             TP_fast_assign(                   << 
1367                     __entry->call             << 
1368                     __entry->why              << 
1369                            ),                 << 
1370                                               << 
1371             TP_printk("c=%08x %s",            << 
1372                       __entry->call,          << 
1373                       __print_symbolic(__entr << 
1374             );                                << 
1375                                               << 
1376 TRACE_EVENT(rxrpc_timer_restart,              << 
1377             TP_PROTO(struct rxrpc_call *call, << 
1378                                               << 
1379             TP_ARGS(call, delay, delayj),     << 
1380                                               << 
1381             TP_STRUCT__entry(                 << 
1382                     __field(unsigned int,     << 
1383                     __field(unsigned long,    << 
1384                     __field(ktime_t,          << 
1385                              ),               << 
1386                                               << 
1387             TP_fast_assign(                   << 
1388                     __entry->call             << 
1389                     __entry->delayj           << 
1390                     __entry->delay            << 
1391                            ),                 << 
1392                                               << 
1393             TP_printk("c=%08x to=%lld j=%ld", << 
1394                       __entry->call,          << 
1395                       ktime_to_us(__entry->de << 
1396                       __entry->delayj)        << 
1397             );                                << 
1398                                               << 
1399 TRACE_EVENT(rxrpc_timer_expired,              << 
1400             TP_PROTO(struct rxrpc_call *call) << 
1401                                               << 
1402             TP_ARGS(call),                    << 
1403                                               << 
1404             TP_STRUCT__entry(                 << 
1405                     __field(unsigned int,     << 
1406                              ),               << 
1407                                               << 
1408             TP_fast_assign(                   << 
1409                     __entry->call             << 
1410                            ),                 << 
1411                                               << 
1412             TP_printk("c=%08x EXPIRED",       << 
1413                       __entry->call)          << 
1414             );                                   1187             );
1415                                                  1188 
1416 TRACE_EVENT(rxrpc_rx_lose,                       1189 TRACE_EVENT(rxrpc_rx_lose,
1417             TP_PROTO(struct rxrpc_skb_priv *s    1190             TP_PROTO(struct rxrpc_skb_priv *sp),
1418                                                  1191 
1419             TP_ARGS(sp),                         1192             TP_ARGS(sp),
1420                                                  1193 
1421             TP_STRUCT__entry(                    1194             TP_STRUCT__entry(
1422                     __field_struct(struct rxr !! 1195                     __field_struct(struct rxrpc_host_header,    hdr             )
1423                              ),                  1196                              ),
1424                                                  1197 
1425             TP_fast_assign(                      1198             TP_fast_assign(
1426                     memcpy(&__entry->hdr, &sp    1199                     memcpy(&__entry->hdr, &sp->hdr, sizeof(__entry->hdr));
1427                            ),                    1200                            ),
1428                                                  1201 
1429             TP_printk("%08x:%08x:%08x:%04x %0    1202             TP_printk("%08x:%08x:%08x:%04x %08x %08x %02x %02x %s *LOSE*",
1430                       __entry->hdr.epoch, __e    1203                       __entry->hdr.epoch, __entry->hdr.cid,
1431                       __entry->hdr.callNumber    1204                       __entry->hdr.callNumber, __entry->hdr.serviceId,
1432                       __entry->hdr.serial, __    1205                       __entry->hdr.serial, __entry->hdr.seq,
1433                       __entry->hdr.type, __en    1206                       __entry->hdr.type, __entry->hdr.flags,
1434                       __entry->hdr.type <= 15    1207                       __entry->hdr.type <= 15 ?
1435                       __print_symbolic(__entr    1208                       __print_symbolic(__entry->hdr.type, rxrpc_pkts) : "?UNK")
1436             );                                   1209             );
1437                                                  1210 
1438 TRACE_EVENT(rxrpc_propose_ack,                   1211 TRACE_EVENT(rxrpc_propose_ack,
1439             TP_PROTO(struct rxrpc_call *call,    1212             TP_PROTO(struct rxrpc_call *call, enum rxrpc_propose_ack_trace why,
1440                      u8 ack_reason, rxrpc_ser !! 1213                      u8 ack_reason, rxrpc_serial_t serial, bool immediate,
1441                                               !! 1214                      bool background, enum rxrpc_propose_ack_outcome outcome),
1442             TP_ARGS(call, why, ack_reason, se << 
1443                                               << 
1444             TP_STRUCT__entry(                 << 
1445                     __field(unsigned int,     << 
1446                     __field(enum rxrpc_propos << 
1447                     __field(rxrpc_serial_t,   << 
1448                     __field(u8,               << 
1449                              ),               << 
1450                                               << 
1451             TP_fast_assign(                   << 
1452                     __entry->call       = cal << 
1453                     __entry->why        = why << 
1454                     __entry->serial     = ser << 
1455                     __entry->ack_reason = ack << 
1456                            ),                 << 
1457                                               << 
1458             TP_printk("c=%08x %s %s r=%08x",  << 
1459                       __entry->call,          << 
1460                       __print_symbolic(__entr << 
1461                       __print_symbolic(__entr << 
1462                       __entry->serial)        << 
1463             );                                << 
1464                                               << 
1465 TRACE_EVENT(rxrpc_send_ack,                   << 
1466             TP_PROTO(struct rxrpc_call *call, << 
1467                      u8 ack_reason, rxrpc_ser << 
1468                                               << 
1469             TP_ARGS(call, why, ack_reason, se << 
1470                                               << 
1471             TP_STRUCT__entry(                 << 
1472                     __field(unsigned int,     << 
1473                     __field(enum rxrpc_propos << 
1474                     __field(rxrpc_serial_t,   << 
1475                     __field(u8,               << 
1476                              ),               << 
1477                                               << 
1478             TP_fast_assign(                   << 
1479                     __entry->call       = cal << 
1480                     __entry->why        = why << 
1481                     __entry->serial     = ser << 
1482                     __entry->ack_reason = ack << 
1483                            ),                 << 
1484                                               << 
1485             TP_printk("c=%08x %s %s r=%08x",  << 
1486                       __entry->call,          << 
1487                       __print_symbolic(__entr << 
1488                       __print_symbolic(__entr << 
1489                       __entry->serial)        << 
1490             );                                << 
1491                                               << 
1492 TRACE_EVENT(rxrpc_drop_ack,                   << 
1493             TP_PROTO(struct rxrpc_call *call, << 
1494                      u8 ack_reason, rxrpc_ser << 
1495                                                  1215 
1496             TP_ARGS(call, why, ack_reason, se !! 1216             TP_ARGS(call, why, ack_reason, serial, immediate, background,
                                                   >> 1217                     outcome),
1497                                                  1218 
1498             TP_STRUCT__entry(                    1219             TP_STRUCT__entry(
1499                     __field(unsigned int,     !! 1220                     __field(unsigned int,                       call            )
1500                     __field(enum rxrpc_propos !! 1221                     __field(enum rxrpc_propose_ack_trace,       why             )
1501                     __field(rxrpc_serial_t,   !! 1222                     __field(rxrpc_serial_t,                     serial          )
1502                     __field(u8,               !! 1223                     __field(u8,                                 ack_reason      )
1503                     __field(bool,             !! 1224                     __field(bool,                               immediate       )
                                                   >> 1225                     __field(bool,                               background      )
                                                   >> 1226                     __field(enum rxrpc_propose_ack_outcome,     outcome         )
1504                              ),                  1227                              ),
1505                                                  1228 
1506             TP_fast_assign(                      1229             TP_fast_assign(
1507                     __entry->call       = cal    1230                     __entry->call       = call->debug_id;
1508                     __entry->why        = why    1231                     __entry->why        = why;
1509                     __entry->serial     = ser    1232                     __entry->serial     = serial;
1510                     __entry->ack_reason = ack    1233                     __entry->ack_reason = ack_reason;
1511                     __entry->nobuf      = nob !! 1234                     __entry->immediate  = immediate;
                                                   >> 1235                     __entry->background = background;
                                                   >> 1236                     __entry->outcome    = outcome;
1512                            ),                    1237                            ),
1513                                                  1238 
1514             TP_printk("c=%08x %s %s r=%08x nb !! 1239             TP_printk("c=%08x %s %s r=%08x i=%u b=%u%s",
1515                       __entry->call,             1240                       __entry->call,
1516                       __print_symbolic(__entr    1241                       __print_symbolic(__entry->why, rxrpc_propose_ack_traces),
1517                       __print_symbolic(__entr    1242                       __print_symbolic(__entry->ack_reason, rxrpc_ack_names),
1518                       __entry->serial, __entr !! 1243                       __entry->serial,
                                                   >> 1244                       __entry->immediate,
                                                   >> 1245                       __entry->background,
                                                   >> 1246                       __print_symbolic(__entry->outcome, rxrpc_propose_ack_outcomes))
1519             );                                   1247             );
1520                                                  1248 
1521 TRACE_EVENT(rxrpc_retransmit,                    1249 TRACE_EVENT(rxrpc_retransmit,
1522             TP_PROTO(struct rxrpc_call *call, !! 1250             TP_PROTO(struct rxrpc_call *call, rxrpc_seq_t seq, u8 annotation,
1523                      rxrpc_serial_t serial, k !! 1251                      s64 expiry),
1524                                                  1252 
1525             TP_ARGS(call, seq, serial, expiry !! 1253             TP_ARGS(call, seq, annotation, expiry),
1526                                                  1254 
1527             TP_STRUCT__entry(                    1255             TP_STRUCT__entry(
1528                     __field(unsigned int,     !! 1256                     __field(unsigned int,               call            )
1529                     __field(rxrpc_seq_t,      !! 1257                     __field(rxrpc_seq_t,                seq             )
1530                     __field(rxrpc_serial_t,   !! 1258                     __field(u8,                         annotation      )
1531                     __field(ktime_t,          !! 1259                     __field(s64,                        expiry          )
1532                              ),                  1260                              ),
1533                                                  1261 
1534             TP_fast_assign(                      1262             TP_fast_assign(
1535                     __entry->call = call->deb    1263                     __entry->call = call->debug_id;
1536                     __entry->seq = seq;          1264                     __entry->seq = seq;
1537                     __entry->serial = serial; !! 1265                     __entry->annotation = annotation;
1538                     __entry->expiry = expiry;    1266                     __entry->expiry = expiry;
1539                            ),                    1267                            ),
1540                                                  1268 
1541             TP_printk("c=%08x q=%x r=%x xp=%l !! 1269             TP_printk("c=%08x q=%x a=%02x xp=%lld",
1542                       __entry->call,             1270                       __entry->call,
1543                       __entry->seq,              1271                       __entry->seq,
1544                       __entry->serial,        !! 1272                       __entry->annotation,
1545                       ktime_to_us(__entry->ex !! 1273                       __entry->expiry)
1546             );                                   1274             );
1547                                                  1275 
1548 TRACE_EVENT(rxrpc_congest,                       1276 TRACE_EVENT(rxrpc_congest,
1549             TP_PROTO(struct rxrpc_call *call,    1277             TP_PROTO(struct rxrpc_call *call, struct rxrpc_ack_summary *summary,
1550                      rxrpc_serial_t ack_seria    1278                      rxrpc_serial_t ack_serial, enum rxrpc_congest_change change),
1551                                                  1279 
1552             TP_ARGS(call, summary, ack_serial    1280             TP_ARGS(call, summary, ack_serial, change),
1553                                                  1281 
1554             TP_STRUCT__entry(                    1282             TP_STRUCT__entry(
1555                     __field(unsigned int,     !! 1283                     __field(unsigned int,                       call            )
1556                     __field(enum rxrpc_conges !! 1284                     __field(enum rxrpc_congest_change,          change          )
1557                     __field(rxrpc_seq_t,      !! 1285                     __field(rxrpc_seq_t,                        hard_ack        )
1558                     __field(rxrpc_seq_t,      !! 1286                     __field(rxrpc_seq_t,                        top             )
1559                     __field(rxrpc_seq_t,      !! 1287                     __field(rxrpc_seq_t,                        lowest_nak      )
1560                     __field(rxrpc_serial_t,   !! 1288                     __field(rxrpc_serial_t,                     ack_serial      )
1561                     __field_struct(struct rxr !! 1289                     __field_struct(struct rxrpc_ack_summary,    sum             )
1562                              ),                  1290                              ),
1563                                                  1291 
1564             TP_fast_assign(                      1292             TP_fast_assign(
1565                     __entry->call       = cal    1293                     __entry->call       = call->debug_id;
1566                     __entry->change     = cha    1294                     __entry->change     = change;
1567                     __entry->hard_ack   = cal !! 1295                     __entry->hard_ack   = call->tx_hard_ack;
1568                     __entry->top        = cal    1296                     __entry->top        = call->tx_top;
1569                     __entry->lowest_nak = cal    1297                     __entry->lowest_nak = call->acks_lowest_nak;
1570                     __entry->ack_serial = ack    1298                     __entry->ack_serial = ack_serial;
1571                     memcpy(&__entry->sum, sum    1299                     memcpy(&__entry->sum, summary, sizeof(__entry->sum));
1572                            ),                    1300                            ),
1573                                                  1301 
1574             TP_printk("c=%08x r=%08x %s q=%08 !! 1302             TP_printk("c=%08x r=%08x %s q=%08x %s cw=%u ss=%u nr=%u,%u nw=%u,%u r=%u b=%u u=%u d=%u l=%x%s%s%s",
1575                       __entry->call,             1303                       __entry->call,
1576                       __entry->ack_serial,       1304                       __entry->ack_serial,
1577                       __print_symbolic(__entr    1305                       __print_symbolic(__entry->sum.ack_reason, rxrpc_ack_names),
1578                       __entry->hard_ack,         1306                       __entry->hard_ack,
1579                       __print_symbolic(__entr    1307                       __print_symbolic(__entry->sum.mode, rxrpc_congest_modes),
1580                       __entry->sum.cwnd,         1308                       __entry->sum.cwnd,
1581                       __entry->sum.ssthresh,     1309                       __entry->sum.ssthresh,
1582                       __entry->sum.nr_acks, _ !! 1310                       __entry->sum.nr_acks, __entry->sum.nr_nacks,
1583                       __entry->sum.nr_new_ack !! 1311                       __entry->sum.nr_new_acks, __entry->sum.nr_new_nacks,
1584                       __entry->sum.nr_new_nac !! 1312                       __entry->sum.nr_rot_new_acks,
1585                       __entry->top - __entry-    1313                       __entry->top - __entry->hard_ack,
1586                       __entry->sum.cumulative    1314                       __entry->sum.cumulative_acks,
1587                       __entry->sum.dup_acks,     1315                       __entry->sum.dup_acks,
1588                       __entry->lowest_nak, __    1316                       __entry->lowest_nak, __entry->sum.new_low_nack ? "!" : "",
1589                       __print_symbolic(__entr    1317                       __print_symbolic(__entry->change, rxrpc_congest_changes),
1590                       __entry->sum.retrans_ti    1318                       __entry->sum.retrans_timeo ? " rTxTo" : "")
1591             );                                   1319             );
1592                                                  1320 
1593 TRACE_EVENT(rxrpc_reset_cwnd,                 !! 1321 TRACE_EVENT(rxrpc_disconnect_call,
1594             TP_PROTO(struct rxrpc_call *call, !! 1322             TP_PROTO(struct rxrpc_call *call),
1595                                                  1323 
1596             TP_ARGS(call, now),               !! 1324             TP_ARGS(call),
1597                                                  1325 
1598             TP_STRUCT__entry(                    1326             TP_STRUCT__entry(
1599                     __field(unsigned int,     !! 1327                     __field(unsigned int,               call            )
1600                     __field(enum rxrpc_conges !! 1328                     __field(u32,                        abort_code      )
1601                     __field(unsigned short,   << 
1602                     __field(unsigned short,   << 
1603                     __field(rxrpc_seq_t,      << 
1604                     __field(rxrpc_seq_t,      << 
1605                     __field(ktime_t,          << 
1606                     __field(bool,             << 
1607                              ),                  1329                              ),
1608                                                  1330 
1609             TP_fast_assign(                      1331             TP_fast_assign(
1610                     __entry->call       = cal !! 1332                     __entry->call = call->debug_id;
1611                     __entry->mode       = cal !! 1333                     __entry->abort_code = call->abort_code;
1612                     __entry->cwnd       = cal << 
1613                     __entry->extra      = cal << 
1614                     __entry->hard_ack   = cal << 
1615                     __entry->prepared   = cal << 
1616                     __entry->since_last_tx =  << 
1617                     __entry->has_data   = !li << 
1618                            ),                    1334                            ),
1619                                                  1335 
1620             TP_printk("c=%08x q=%08x %s cw=%u !! 1336             TP_printk("c=%08x ab=%08x",
1621                       __entry->call,             1337                       __entry->call,
1622                       __entry->hard_ack,      !! 1338                       __entry->abort_code)
1623                       __print_symbolic(__entr << 
1624                       __entry->cwnd,          << 
1625                       __entry->extra,         << 
1626                       __entry->prepared,      << 
1627                       ktime_to_ns(__entry->si << 
1628                       __entry->has_data)      << 
1629             );                                   1339             );
1630                                                  1340 
1631 TRACE_EVENT(rxrpc_disconnect_call,            !! 1341 TRACE_EVENT(rxrpc_improper_term,
1632             TP_PROTO(struct rxrpc_call *call)    1342             TP_PROTO(struct rxrpc_call *call),
1633                                                  1343 
1634             TP_ARGS(call),                       1344             TP_ARGS(call),
1635                                                  1345 
1636             TP_STRUCT__entry(                    1346             TP_STRUCT__entry(
1637                     __field(unsigned int,     !! 1347                     __field(unsigned int,               call            )
1638                     __field(u32,              !! 1348                     __field(u32,                        abort_code      )
1639                              ),                  1349                              ),
1640                                                  1350 
1641             TP_fast_assign(                      1351             TP_fast_assign(
1642                     __entry->call = call->deb    1352                     __entry->call = call->debug_id;
1643                     __entry->abort_code = cal    1353                     __entry->abort_code = call->abort_code;
1644                            ),                    1354                            ),
1645                                                  1355 
1646             TP_printk("c=%08x ab=%08x",          1356             TP_printk("c=%08x ab=%08x",
1647                       __entry->call,             1357                       __entry->call,
1648                       __entry->abort_code)       1358                       __entry->abort_code)
1649             );                                   1359             );
1650                                                  1360 
1651 TRACE_EVENT(rxrpc_improper_term,              !! 1361 TRACE_EVENT(rxrpc_rx_eproto,
1652             TP_PROTO(struct rxrpc_call *call) !! 1362             TP_PROTO(struct rxrpc_call *call, rxrpc_serial_t serial,
                                                   >> 1363                      const char *why),
1653                                                  1364 
1654             TP_ARGS(call),                    !! 1365             TP_ARGS(call, serial, why),
1655                                                  1366 
1656             TP_STRUCT__entry(                    1367             TP_STRUCT__entry(
1657                     __field(unsigned int,     !! 1368                     __field(unsigned int,               call            )
1658                     __field(u32,              !! 1369                     __field(rxrpc_serial_t,             serial          )
                                                   >> 1370                     __field(const char *,               why             )
1659                              ),                  1371                              ),
1660                                                  1372 
1661             TP_fast_assign(                      1373             TP_fast_assign(
1662                     __entry->call = call->deb !! 1374                     __entry->call = call ? call->debug_id : 0;
1663                     __entry->abort_code = cal !! 1375                     __entry->serial = serial;
                                                   >> 1376                     __entry->why = why;
1664                            ),                    1377                            ),
1665                                                  1378 
1666             TP_printk("c=%08x ab=%08x",       !! 1379             TP_printk("c=%08x EPROTO %08x %s",
1667                       __entry->call,             1380                       __entry->call,
1668                       __entry->abort_code)    !! 1381                       __entry->serial,
                                                   >> 1382                       __entry->why)
1669             );                                   1383             );
1670                                                  1384 
1671 TRACE_EVENT(rxrpc_connect_call,                  1385 TRACE_EVENT(rxrpc_connect_call,
1672             TP_PROTO(struct rxrpc_call *call)    1386             TP_PROTO(struct rxrpc_call *call),
1673                                                  1387 
1674             TP_ARGS(call),                       1388             TP_ARGS(call),
1675                                                  1389 
1676             TP_STRUCT__entry(                    1390             TP_STRUCT__entry(
1677                     __field(unsigned int,     !! 1391                     __field(unsigned int,               call            )
1678                     __field(unsigned long,    !! 1392                     __field(unsigned long,              user_call_ID    )
1679                     __field(u32,              !! 1393                     __field(u32,                        cid             )
1680                     __field(u32,              !! 1394                     __field(u32,                        call_id         )
1681                     __field_struct(struct soc << 
1682                              ),                  1395                              ),
1683                                                  1396 
1684             TP_fast_assign(                      1397             TP_fast_assign(
1685                     __entry->call = call->deb    1398                     __entry->call = call->debug_id;
1686                     __entry->user_call_ID = c    1399                     __entry->user_call_ID = call->user_call_ID;
1687                     __entry->cid = call->cid;    1400                     __entry->cid = call->cid;
1688                     __entry->call_id = call->    1401                     __entry->call_id = call->call_id;
1689                     __entry->srx = call->dest << 
1690                            ),                    1402                            ),
1691                                                  1403 
1692             TP_printk("c=%08x u=%p %08x:%08x  !! 1404             TP_printk("c=%08x u=%p %08x:%08x",
1693                       __entry->call,             1405                       __entry->call,
1694                       (void *)__entry->user_c    1406                       (void *)__entry->user_call_ID,
1695                       __entry->cid,              1407                       __entry->cid,
1696                       __entry->call_id,       !! 1408                       __entry->call_id)
1697                       &__entry->srx.transport << 
1698             );                                   1409             );
1699                                                  1410 
1700 TRACE_EVENT(rxrpc_resend,                        1411 TRACE_EVENT(rxrpc_resend,
1701             TP_PROTO(struct rxrpc_call *call, !! 1412             TP_PROTO(struct rxrpc_call *call, int ix),
1702                                                  1413 
1703             TP_ARGS(call, ack),               !! 1414             TP_ARGS(call, ix),
1704                                                  1415 
1705             TP_STRUCT__entry(                    1416             TP_STRUCT__entry(
1706                     __field(unsigned int,     !! 1417                     __field(unsigned int,               call            )
1707                     __field(rxrpc_seq_t,      !! 1418                     __field(int,                        ix              )
1708                     __field(rxrpc_seq_t,      !! 1419                     __array(u8,                         anno, 64        )
1709                     __field(rxrpc_serial_t,   << 
1710                              ),                  1420                              ),
1711                                                  1421 
1712             TP_fast_assign(                      1422             TP_fast_assign(
1713                     struct rxrpc_skb_priv *sp << 
1714                     __entry->call = call->deb    1423                     __entry->call = call->debug_id;
1715                     __entry->seq = call->acks !! 1424                     __entry->ix = ix;
1716                     __entry->transmitted = ca !! 1425                     memcpy(__entry->anno, call->rxtx_annotations, 64);
1717                     __entry->ack_serial = sp  << 
1718                            ),                    1426                            ),
1719                                                  1427 
1720             TP_printk("c=%08x r=%x q=%x tq=%x !! 1428             TP_printk("c=%08x ix=%u a=%64phN",
1721                       __entry->call,             1429                       __entry->call,
1722                       __entry->ack_serial,    !! 1430                       __entry->ix,
1723                       __entry->seq,           !! 1431                       __entry->anno)
1724                       __entry->transmitted)   << 
1725             );                                   1432             );
1726                                                  1433 
1727 TRACE_EVENT(rxrpc_rx_icmp,                       1434 TRACE_EVENT(rxrpc_rx_icmp,
1728             TP_PROTO(struct rxrpc_peer *peer,    1435             TP_PROTO(struct rxrpc_peer *peer, struct sock_extended_err *ee,
1729                      struct sockaddr_rxrpc *s    1436                      struct sockaddr_rxrpc *srx),
1730                                                  1437 
1731             TP_ARGS(peer, ee, srx),              1438             TP_ARGS(peer, ee, srx),
1732                                                  1439 
1733             TP_STRUCT__entry(                    1440             TP_STRUCT__entry(
1734                     __field(unsigned int,     !! 1441                     __field(unsigned int,                       peer    )
1735                     __field_struct(struct soc !! 1442                     __field_struct(struct sock_extended_err,    ee      )
1736                     __field_struct(struct soc !! 1443                     __field_struct(struct sockaddr_rxrpc,       srx     )
1737                              ),                  1444                              ),
1738                                                  1445 
1739             TP_fast_assign(                      1446             TP_fast_assign(
1740                     __entry->peer = peer->deb    1447                     __entry->peer = peer->debug_id;
1741                     memcpy(&__entry->ee, ee,     1448                     memcpy(&__entry->ee, ee, sizeof(__entry->ee));
1742                     memcpy(&__entry->srx, srx    1449                     memcpy(&__entry->srx, srx, sizeof(__entry->srx));
1743                            ),                    1450                            ),
1744                                                  1451 
1745             TP_printk("P=%08x o=%u t=%u c=%u     1452             TP_printk("P=%08x o=%u t=%u c=%u i=%u d=%u e=%d %pISp",
1746                       __entry->peer,             1453                       __entry->peer,
1747                       __entry->ee.ee_origin,     1454                       __entry->ee.ee_origin,
1748                       __entry->ee.ee_type,       1455                       __entry->ee.ee_type,
1749                       __entry->ee.ee_code,       1456                       __entry->ee.ee_code,
1750                       __entry->ee.ee_info,       1457                       __entry->ee.ee_info,
1751                       __entry->ee.ee_data,       1458                       __entry->ee.ee_data,
1752                       __entry->ee.ee_errno,      1459                       __entry->ee.ee_errno,
1753                       &__entry->srx.transport    1460                       &__entry->srx.transport)
1754             );                                   1461             );
1755                                                  1462 
1756 TRACE_EVENT(rxrpc_tx_fail,                       1463 TRACE_EVENT(rxrpc_tx_fail,
1757             TP_PROTO(unsigned int debug_id, r    1464             TP_PROTO(unsigned int debug_id, rxrpc_serial_t serial, int ret,
1758                      enum rxrpc_tx_point wher    1465                      enum rxrpc_tx_point where),
1759                                                  1466 
1760             TP_ARGS(debug_id, serial, ret, wh    1467             TP_ARGS(debug_id, serial, ret, where),
1761                                                  1468 
1762             TP_STRUCT__entry(                    1469             TP_STRUCT__entry(
1763                     __field(unsigned int,     !! 1470                     __field(unsigned int,               debug_id        )
1764                     __field(rxrpc_serial_t,   !! 1471                     __field(rxrpc_serial_t,             serial          )
1765                     __field(int,              !! 1472                     __field(int,                        ret             )
1766                     __field(enum rxrpc_tx_poi !! 1473                     __field(enum rxrpc_tx_point,        where           )
1767                              ),                  1474                              ),
1768                                                  1475 
1769             TP_fast_assign(                      1476             TP_fast_assign(
1770                     __entry->debug_id = debug    1477                     __entry->debug_id = debug_id;
1771                     __entry->serial = serial;    1478                     __entry->serial = serial;
1772                     __entry->ret = ret;          1479                     __entry->ret = ret;
1773                     __entry->where = where;      1480                     __entry->where = where;
1774                            ),                    1481                            ),
1775                                                  1482 
1776             TP_printk("c=%08x r=%x ret=%d %s"    1483             TP_printk("c=%08x r=%x ret=%d %s",
1777                       __entry->debug_id,         1484                       __entry->debug_id,
1778                       __entry->serial,           1485                       __entry->serial,
1779                       __entry->ret,              1486                       __entry->ret,
1780                       __print_symbolic(__entr    1487                       __print_symbolic(__entry->where, rxrpc_tx_points))
1781             );                                   1488             );
1782                                                  1489 
1783 TRACE_EVENT(rxrpc_call_reset,                    1490 TRACE_EVENT(rxrpc_call_reset,
1784             TP_PROTO(struct rxrpc_call *call)    1491             TP_PROTO(struct rxrpc_call *call),
1785                                                  1492 
1786             TP_ARGS(call),                       1493             TP_ARGS(call),
1787                                                  1494 
1788             TP_STRUCT__entry(                    1495             TP_STRUCT__entry(
1789                     __field(unsigned int,     !! 1496                     __field(unsigned int,               debug_id        )
1790                     __field(u32,              !! 1497                     __field(u32,                        cid             )
1791                     __field(u32,              !! 1498                     __field(u32,                        call_id         )
1792                     __field(rxrpc_serial_t,   !! 1499                     __field(rxrpc_serial_t,             call_serial     )
1793                     __field(rxrpc_serial_t,   !! 1500                     __field(rxrpc_serial_t,             conn_serial     )
1794                     __field(rxrpc_seq_t,      !! 1501                     __field(rxrpc_seq_t,                tx_seq          )
1795                     __field(rxrpc_seq_t,      !! 1502                     __field(rxrpc_seq_t,                rx_seq          )
1796                              ),                  1503                              ),
1797                                                  1504 
1798             TP_fast_assign(                      1505             TP_fast_assign(
1799                     __entry->debug_id = call-    1506                     __entry->debug_id = call->debug_id;
1800                     __entry->cid = call->cid;    1507                     __entry->cid = call->cid;
1801                     __entry->call_id = call->    1508                     __entry->call_id = call->call_id;
1802                     __entry->call_serial = ca    1509                     __entry->call_serial = call->rx_serial;
1803                     __entry->conn_serial = ca    1510                     __entry->conn_serial = call->conn->hi_serial;
1804                     __entry->tx_seq = call->a !! 1511                     __entry->tx_seq = call->tx_hard_ack;
1805                     __entry->rx_seq = call->r !! 1512                     __entry->rx_seq = call->ackr_seen;
1806                            ),                    1513                            ),
1807                                                  1514 
1808             TP_printk("c=%08x %08x:%08x r=%08    1515             TP_printk("c=%08x %08x:%08x r=%08x/%08x tx=%08x rx=%08x",
1809                       __entry->debug_id,         1516                       __entry->debug_id,
1810                       __entry->cid, __entry->    1517                       __entry->cid, __entry->call_id,
1811                       __entry->call_serial, _    1518                       __entry->call_serial, __entry->conn_serial,
1812                       __entry->tx_seq, __entr    1519                       __entry->tx_seq, __entry->rx_seq)
1813             );                                   1520             );
1814                                                  1521 
1815 TRACE_EVENT(rxrpc_notify_socket,                 1522 TRACE_EVENT(rxrpc_notify_socket,
1816             TP_PROTO(unsigned int debug_id, r    1523             TP_PROTO(unsigned int debug_id, rxrpc_serial_t serial),
1817                                                  1524 
1818             TP_ARGS(debug_id, serial),           1525             TP_ARGS(debug_id, serial),
1819                                                  1526 
1820             TP_STRUCT__entry(                    1527             TP_STRUCT__entry(
1821                     __field(unsigned int,     !! 1528                     __field(unsigned int,               debug_id        )
1822                     __field(rxrpc_serial_t,   !! 1529                     __field(rxrpc_serial_t,             serial          )
1823                              ),                  1530                              ),
1824                                                  1531 
1825             TP_fast_assign(                      1532             TP_fast_assign(
1826                     __entry->debug_id = debug    1533                     __entry->debug_id = debug_id;
1827                     __entry->serial = serial;    1534                     __entry->serial = serial;
1828                            ),                    1535                            ),
1829                                                  1536 
1830             TP_printk("c=%08x r=%08x",           1537             TP_printk("c=%08x r=%08x",
1831                       __entry->debug_id,         1538                       __entry->debug_id,
1832                       __entry->serial)           1539                       __entry->serial)
1833             );                                   1540             );
1834                                                  1541 
1835 TRACE_EVENT(rxrpc_rx_discard_ack,                1542 TRACE_EVENT(rxrpc_rx_discard_ack,
1836             TP_PROTO(unsigned int debug_id, r    1543             TP_PROTO(unsigned int debug_id, rxrpc_serial_t serial,
1837                      rxrpc_seq_t first_soft_a    1544                      rxrpc_seq_t first_soft_ack, rxrpc_seq_t call_ackr_first,
1838                      rxrpc_seq_t prev_pkt, rx    1545                      rxrpc_seq_t prev_pkt, rxrpc_seq_t call_ackr_prev),
1839                                                  1546 
1840             TP_ARGS(debug_id, serial, first_s    1547             TP_ARGS(debug_id, serial, first_soft_ack, call_ackr_first,
1841                     prev_pkt, call_ackr_prev)    1548                     prev_pkt, call_ackr_prev),
1842                                                  1549 
1843             TP_STRUCT__entry(                    1550             TP_STRUCT__entry(
1844                     __field(unsigned int,     !! 1551                     __field(unsigned int,       debug_id        )
1845                     __field(rxrpc_serial_t,   !! 1552                     __field(rxrpc_serial_t,     serial          )
1846                     __field(rxrpc_seq_t,         1553                     __field(rxrpc_seq_t,        first_soft_ack)
1847                     __field(rxrpc_seq_t,         1554                     __field(rxrpc_seq_t,        call_ackr_first)
1848                     __field(rxrpc_seq_t,         1555                     __field(rxrpc_seq_t,        prev_pkt)
1849                     __field(rxrpc_seq_t,         1556                     __field(rxrpc_seq_t,        call_ackr_prev)
1850                              ),                  1557                              ),
1851                                                  1558 
1852             TP_fast_assign(                      1559             TP_fast_assign(
1853                     __entry->debug_id            1560                     __entry->debug_id           = debug_id;
1854                     __entry->serial              1561                     __entry->serial             = serial;
1855                     __entry->first_soft_ack      1562                     __entry->first_soft_ack     = first_soft_ack;
1856                     __entry->call_ackr_first     1563                     __entry->call_ackr_first    = call_ackr_first;
1857                     __entry->prev_pkt            1564                     __entry->prev_pkt           = prev_pkt;
1858                     __entry->call_ackr_prev      1565                     __entry->call_ackr_prev     = call_ackr_prev;
1859                            ),                    1566                            ),
1860                                                  1567 
1861             TP_printk("c=%08x r=%08x %08x<%08    1568             TP_printk("c=%08x r=%08x %08x<%08x %08x<%08x",
1862                       __entry->debug_id,         1569                       __entry->debug_id,
1863                       __entry->serial,           1570                       __entry->serial,
1864                       __entry->first_soft_ack    1571                       __entry->first_soft_ack,
1865                       __entry->call_ackr_firs    1572                       __entry->call_ackr_first,
1866                       __entry->prev_pkt,         1573                       __entry->prev_pkt,
1867                       __entry->call_ackr_prev    1574                       __entry->call_ackr_prev)
1868             );                                   1575             );
1869                                                  1576 
1870 TRACE_EVENT(rxrpc_req_ack,                    << 
1871             TP_PROTO(unsigned int call_debug_ << 
1872                      enum rxrpc_req_ack_trace << 
1873                                               << 
1874             TP_ARGS(call_debug_id, seq, why), << 
1875                                               << 
1876             TP_STRUCT__entry(                 << 
1877                     __field(unsigned int,     << 
1878                     __field(rxrpc_seq_t,      << 
1879                     __field(enum rxrpc_req_ac << 
1880                              ),               << 
1881                                               << 
1882             TP_fast_assign(                   << 
1883                     __entry->call_debug_id =  << 
1884                     __entry->seq = seq;       << 
1885                     __entry->why = why;       << 
1886                            ),                 << 
1887                                               << 
1888             TP_printk("c=%08x q=%08x REQ-%s", << 
1889                       __entry->call_debug_id, << 
1890                       __entry->seq,           << 
1891                       __print_symbolic(__entr << 
1892             );                                << 
1893                                               << 
1894 TRACE_EVENT(rxrpc_txbuf,                      << 
1895             TP_PROTO(unsigned int debug_id,   << 
1896                      unsigned int call_debug_ << 
1897                      int ref, enum rxrpc_txbu << 
1898                                               << 
1899             TP_ARGS(debug_id, call_debug_id,  << 
1900                                               << 
1901             TP_STRUCT__entry(                 << 
1902                     __field(unsigned int,     << 
1903                     __field(unsigned int,     << 
1904                     __field(rxrpc_seq_t,      << 
1905                     __field(int,              << 
1906                     __field(enum rxrpc_txbuf_ << 
1907                              ),               << 
1908                                               << 
1909             TP_fast_assign(                   << 
1910                     __entry->debug_id = debug << 
1911                     __entry->call_debug_id =  << 
1912                     __entry->seq = seq;       << 
1913                     __entry->ref = ref;       << 
1914                     __entry->what = what;     << 
1915                            ),                 << 
1916                                               << 
1917             TP_printk("B=%08x c=%08x q=%08x % << 
1918                       __entry->debug_id,      << 
1919                       __entry->call_debug_id, << 
1920                       __entry->seq,           << 
1921                       __print_symbolic(__entr << 
1922                       __entry->ref)           << 
1923             );                                << 
1924                                               << 
1925 TRACE_EVENT(rxrpc_poke_call,                  << 
1926             TP_PROTO(struct rxrpc_call *call, << 
1927                      enum rxrpc_call_poke_tra << 
1928                                               << 
1929             TP_ARGS(call, busy, what),        << 
1930                                               << 
1931             TP_STRUCT__entry(                 << 
1932                     __field(unsigned int,     << 
1933                     __field(bool,             << 
1934                     __field(enum rxrpc_call_p << 
1935                              ),               << 
1936                                               << 
1937             TP_fast_assign(                   << 
1938                     __entry->call_debug_id =  << 
1939                     __entry->busy = busy;     << 
1940                     __entry->what = what;     << 
1941                            ),                 << 
1942                                               << 
1943             TP_printk("c=%08x %s%s",          << 
1944                       __entry->call_debug_id, << 
1945                       __print_symbolic(__entr << 
1946                       __entry->busy ? "!" : " << 
1947             );                                << 
1948                                               << 
1949 TRACE_EVENT(rxrpc_call_poked,                 << 
1950             TP_PROTO(struct rxrpc_call *call) << 
1951                                               << 
1952             TP_ARGS(call),                    << 
1953                                               << 
1954             TP_STRUCT__entry(                 << 
1955                     __field(unsigned int,     << 
1956                              ),               << 
1957                                               << 
1958             TP_fast_assign(                   << 
1959                     __entry->call_debug_id =  << 
1960                            ),                 << 
1961                                               << 
1962             TP_printk("c=%08x",               << 
1963                       __entry->call_debug_id) << 
1964             );                                << 
1965                                               << 
1966 TRACE_EVENT(rxrpc_sack,                       << 
1967             TP_PROTO(struct rxrpc_call *call, << 
1968                      unsigned int sack, enum  << 
1969                                               << 
1970             TP_ARGS(call, seq, sack, what),   << 
1971                                               << 
1972             TP_STRUCT__entry(                 << 
1973                     __field(unsigned int,     << 
1974                     __field(rxrpc_seq_t,      << 
1975                     __field(unsigned int,     << 
1976                     __field(enum rxrpc_sack_t << 
1977                              ),               << 
1978                                               << 
1979             TP_fast_assign(                   << 
1980                     __entry->call_debug_id =  << 
1981                     __entry->seq = seq;       << 
1982                     __entry->sack = sack;     << 
1983                     __entry->what = what;     << 
1984                            ),                 << 
1985                                               << 
1986             TP_printk("c=%08x q=%08x %s k=%x" << 
1987                       __entry->call_debug_id, << 
1988                       __entry->seq,           << 
1989                       __print_symbolic(__entr << 
1990                       __entry->sack)          << 
1991             );                                << 
1992                                               << 
1993 #undef EM                                     << 
1994 #undef E_                                     << 
1995                                               << 
1996 #endif /* RXRPC_TRACE_ONLY_DEFINE_ENUMS */    << 
1997 #endif /* _TRACE_RXRPC_H */                      1577 #endif /* _TRACE_RXRPC_H */
1998                                                  1578 
1999 /* This part must be outside protection */       1579 /* This part must be outside protection */
2000 #include <trace/define_trace.h>                  1580 #include <trace/define_trace.h>
2001                                                  1581 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php