[PATCH net-next 0/3] Tracepoints for SMC

Tony Lu
2021-11-01T07:40:20Z

This patch set introduces tracepoints for SMC, including the tracepoints
basic code. The tracepoitns would help us to track SMC's behaviors by
automatic tools, or other BPF tools, and zero overhead if not enabled.

Compared with kprobe and other dymatic tools, the tracepoints are
considered as stable API, and less overhead for tracing with easy-to-use
API.

Tony Lu (3):
net/smc: Introduce tracepoint for fallback
net/smc: Introduce tracepoints for tx and rx msg
net/smc: Introduce tracepoint for smcr link down

net/smc/Makefile | 2 +
net/smc/af_smc.c | 2 +
net/smc/smc_core.c | 9 ++-
net/smc/smc_rx.c | 3 +
net/smc/smc_tracepoint.c | 9 +++
net/smc/smc_tracepoint.h | 116 +++++++++++++++++++++++++++++++++++++++
net/smc/smc_tx.c | 3 +
7 files changed, 142 insertions(+), 2 deletions(-)
create mode 100644 net/smc/smc_tracepoint.c
create mode 100644 net/smc/smc_tracepoint.h

--
2.19.1.6.gb485710b