IB/MAD: Add send path trace points
authorIra Weiny <ira.weiny@intel.com>
Tue, 19 Mar 2019 21:11:44 +0000 (14:11 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 Mar 2019 18:52:00 +0000 (15:52 -0300)
commit4d60cad5db7fb450e64532afbbaba85af235fa5d
treeb79a2950b0e02408e673500456cdcbced57ccac5
parent2dd0cf77c93f615810d1735e6bd1582b73a9ca94
IB/MAD: Add send path trace points

Use the standard Linux trace mechanism to trace MADs being sent.  4 trace
points are added, when the MAD is posted to the qp, when the MAD is
completed, if a MAD is resent, and when the MAD completes in error.

Reviewed-by: "Ruhl, Michael J" <michael.j.ruhl@intel.com>
Suggested-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
MAINTAINERS
drivers/infiniband/core/mad.c
include/trace/events/ib_mad.h [new file with mode: 0644]