Skip to content

IB CM tracepoints

Chuck Lever linux-rdma 3 versions – Applied

Status from this message: Applied to for-next, thanks

Get series with b4
b4 am 159767229823.2968.6482101365744305238.stgit@klimt.1015granger.net

Versions newest first · linked by author and title

  1. v3 Latest3 patches 7 repliesApplied
  2. v23 patches 1 replySuperseded
  3. v1 RFC3 patches 5 repliesSuperseded

Changes in v3 from the cover letter

* Rebase on v5.9-rc1

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3RDMA/core: Move the rdma_show_ib_cm_event() macrodrivers/infiniband/core/cma_trace.h include/trace/events/rdma.h include/trace/events/rpcrdma.h+41 -410 replies
2/3RDMA/cm: Replace pr_debug() call sites with tracepointsdrivers/infiniband/core/Makefile drivers/infiniband/core/cm.c drivers/infiniband/core/cm_trace.c +1 more+351 -550 replies
3/3RDMA/cm: Add tracepoints to track MAD send operationsdrivers/infiniband/core/cm.c drivers/infiniband/core/cm_trace.h+125 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] IB CM tracepoints

Oracle has an interest in a common observability infrastructure in the RDMA core and ULPs. Introduce static tracepoints that can also be used as hooks for eBPF scripts, replacing infrastructure that is based on printk. This takes the same approach as tracepoints added recently in the RDMA CM.

Change since v2:
* Rebase on v5.9-rc1

Changes since RFC:
* Correct spelling of example tracepoint in patch description
* Newer tool chains don't care for tracepoints with the same name in different subsystems
* Display ib_cm_events, not ib_events

---

Chuck Lever (3):
RDMA/core: Move the rdma_show_ib_cm_event() macro RDMA/cm: Replace pr_debug() call sites with tracepoints RDMA/cm: Add tracepoints to track MAD send operations

 drivers/infiniband/core/Makefile   |   2 +-
 drivers/infiniband/core/cm.c       | 102 ++++---
 drivers/infiniband/core/cm_trace.c |  15 ++
 drivers/infiniband/core/cm_trace.h | 414 +++++++++++++++++++++++++++++
 4 files changed, 476 insertions(+), 57 deletions(-)
 create mode 100644 drivers/infiniband/core/cm_trace.c
 create mode 100644 drivers/infiniband/core/cm_trace.h

--
Chuck Lever