IB/hfi1: Fix hfi_rcvhdr tracepoint
authorJubin John <jubin.john@intel.com>
Thu, 12 May 2016 17:23:22 +0000 (10:23 -0700)
committerDoug Ledford <dledford@redhat.com>
Fri, 13 May 2016 23:39:17 +0000 (19:39 -0400)
The hfi_rcvhdr tracepoint has the ctxt and eflags switched in the
prototype of the trace event, compared to the args and usage of the
trace function. Fix this by swapping these 2 fields in the trace event
prototype.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/trace.h

index 963dc948c38a4f335608f0c3ef36c78928464949..42bcfc3e15d568d98d0fd128b16124adfa3b0df8 100644 (file)
@@ -74,8 +74,8 @@ __print_symbolic(etype,                         \
 
 TRACE_EVENT(hfi1_rcvhdr,
            TP_PROTO(struct hfi1_devdata *dd,
-                    u64 eflags,
                     u32 ctxt,
+                    u64 eflags,
                     u32 etype,
                     u32 hlen,
                     u32 tlen,
This page took 0.044115 seconds and 5 git commands to generate.