net/smc: Introduce tracepoints for tx and rx msg
authorTony Lu <tonylu@linux.alibaba.com>
Mon, 1 Nov 2021 07:39:14 +0000 (15:39 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2021 13:39:14 +0000 (13:39 +0000)
commitaff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84
tree3e35820d6b7860914d97d8a6fbdfef3520067b06
parent4826260868202246a4dba1c682491d7f4b90d747
net/smc: Introduce tracepoints for tx and rx msg

This introduce two tracepoints for smc tx and rx msg to help us
diagnosis issues of data path. These two tracepoitns don't cover the
path of CORK or MSG_MORE in tx, just the top half of data path.

Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Reviewed-by: Wen Gu <guwen@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_rx.c
net/smc/smc_tracepoint.c
net/smc/smc_tracepoint.h
net/smc/smc_tx.c