• Pierguido Lambri's avatar
    SUNRPC: Add source address/port to rpc_socket* traces · 4b0c359b
    Pierguido Lambri authored
    The rpc_socket* traces now show also the source address
    and port. An example is:
    
    kworker/u17:1-951   [005] 134218.925343: rpc_socket_close:
       socket:[46913] srcaddr=192.168.100.187:793 dstaddr=192.168.100.129:2049
       state=4 (DISCONNECTING) sk_state=7 (CLOSE)
    kworker/u17:0-242   [006] 134360.841370: rpc_socket_connect:
       error=-115 socket:[56322] srcaddr=192.168.100.187:769
       dstaddr=192.168.100.129:2049 state=2 (CONNECTING) sk_state=2 (SYN_SENT)
           <idle>-0     [006] 134360.841859: rpc_socket_state_change: socket:[56322]
       srcaddr=192.168.100.187:769 dstaddr=192.168.100.129:2049 state=2 (CONNECTING)
       sk_state=1 (ESTABLISHED)
    Signed-off-by: default avatarPierguido Lambri <plambri@redhat.com>
    Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
    4b0c359b
sunrpc.h 55.6 KB