Changes since v5: - Add low-overhead trace points in the Connection Manager - Address #include heartburn found by lkp Changes since v4: - Removed __ib_poll_cq, uninlined ib_poll_cq Changes since v3: - Reverted unnecessary behavior change in __ib_process_cq - Clarified what "id" is in trace point output - Added comment before new fields in struct ib_cq - New trace point that fires when there is a CQ allocation failure Changes since v2: - Removed extraneous changes to include/trace/events/rdma.h Changes since RFC: - Display CQ's global resource ID instead of it's pointer address --- Chuck Lever (2): RDMA/core: Trace points for diagnosing completion queue issues RDMA/cma: Add trace points in RDMA Connection Manager drivers/infiniband/core/Makefile | 4 - drivers/infiniband/core/cma.c | 60 ++++++-- drivers/infiniband/core/cma_trace.c | 16 ++ drivers/infiniband/core/cq.c | 36 +++++ drivers/infiniband/core/trace.c | 14 ++ include/rdma/ib_verbs.h | 11 +- include/trace/events/rdma_cma.h | 218 +++++++++++++++++++++++++++++++ include/trace/events/rdma_core.h | 250 +++++++++++++++++++++++++++++++++++ 8 files changed, 585 insertions(+), 24 deletions(-) create mode 100644 drivers/infiniband/core/cma_trace.c create mode 100644 drivers/infiniband/core/trace.c create mode 100644 include/trace/events/rdma_cma.h create mode 100644 include/trace/events/rdma_core.h -- Chuck Lever