mbox series

[v2,0/3] IB CM tracepoints

Message ID 159526519212.1543.15414933891659731269.stgit@klimt.1015granger.net (mailing list archive)
Headers show
Series IB CM tracepoints | expand

Message

Chuck Lever III July 20, 2020, 5:16 p.m. UTC
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.

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

Comments

Jason Gunthorpe July 31, 2020, 7:07 p.m. UTC | #1
On Mon, Jul 20, 2020 at 01:16:28PM -0400, Chuck Lever wrote:
> 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.
> 
> 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

This doesn't apply, can you resend it?

Applying: RDMA/core: Move the rdma_show_ib_cm_event() macro
error: sha1 information is lacking or useless (include/trace/events/rpcrdma.h).
error: could not build fake ancestor
Patch failed at 0001 RDMA/core: Move the rdma_show_ib_cm_event() macro
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
 
I guess in two weeks after the merge window

Thanks,
Jason