]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6e6ad91c6ab2ad5c7139371ad9831cecd39749b
treeb79a2950b0e02408e673500456cdcbced57ccac5
parent45e0e16235ece6abc0d516467ef70846bd3c460f
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]