diff options
author | Tony Lu <tonylu@linux.alibaba.com> | 2021-11-01 10:39:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-01 16:39:14 +0300 |
commit | aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84 (patch) | |
tree | 3e35820d6b7860914d97d8a6fbdfef3520067b06 /net/smc/smc_tracepoint.c | |
parent | 4826260868202246a4dba1c682491d7f4b90d747 (diff) | |
download | linux-aff3083f10bff7a37eaa2b4e6bc5fb627ddd5f84.tar.xz |
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>
Diffstat (limited to 'net/smc/smc_tracepoint.c')
-rw-r--r-- | net/smc/smc_tracepoint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/smc/smc_tracepoint.c b/net/smc/smc_tracepoint.c index 861a41644971..af031811ddb3 100644 --- a/net/smc/smc_tracepoint.c +++ b/net/smc/smc_tracepoint.c @@ -4,3 +4,5 @@ #include "smc_tracepoint.h" EXPORT_TRACEPOINT_SYMBOL(smc_switch_to_fallback); +EXPORT_TRACEPOINT_SYMBOL(smc_tx_sendmsg); +EXPORT_TRACEPOINT_SYMBOL(smc_rx_recvmsg); |