]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit59a43d0dfe3cc89b31bb07ddd0d2795eb5bf85f9
tree3e35820d6b7860914d97d8a6fbdfef3520067b06
parentcc903c0d4f9db1dbe1862ce1c1d27ea6ff322f3e
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