All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Tracepoints for SMC
@ 2021-11-01  7:39 Tony Lu
  2021-11-01  7:39 ` [PATCH net-next 1/3] net/smc: Introduce tracepoint for fallback Tony Lu
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tony Lu @ 2021-11-01  7:39 UTC (permalink / raw)
  To: kgraul; +Cc: kuba, davem, guwen, dust.li, netdev, linux-s390, linux-rdma

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-03  6:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01  7:39 [PATCH net-next 0/3] Tracepoints for SMC Tony Lu
2021-11-01  7:39 ` [PATCH net-next 1/3] net/smc: Introduce tracepoint for fallback Tony Lu
2021-11-01  7:39 ` [PATCH net-next 2/3] net/smc: Introduce tracepoints for tx and rx msg Tony Lu
2021-11-01  7:39 ` [PATCH net-next 3/3] net/smc: Introduce tracepoint for smcr link down Tony Lu
2021-11-02  9:30   ` Karsten Graul
2021-11-03  6:57     ` Tony Lu
2021-11-01 13:50 ` [PATCH net-next 0/3] Tracepoints for SMC patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.