Skip to contentSkip to conversation

complib/cl_event_wheel.c: Add print of num_regs in cl_event_wheel_dump

PATCH New Hal Rosenstock 1 participant 1 message Jul 12, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 complib/cl_event_wheel.c: Add print of num_regs in cl_event_wheel_dump

From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/[email protected]>

num_regs is important information in debug mode.

---
 complib/cl_event_wheel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
complib/cl_event_wheel.c +2 -2
index 901ef8e..365804e 100644
@@ -238,8 +238,8 @@ void cl_event_wheel_dump(IN cl_event_wheel_t * const p_event_wheel)
 		    PARENT_STRUCT(p_list_item, cl_event_wheel_reg_info_t,
 				  list_item);
 		CL_DBG("cl_event_wheel_dump: Found event key:<0x%"
-		       PRIx64 ">, aging time:%" PRIu64 "\n",
-		       p_event->key, p_event->aging_time);
+		       PRIx64 ">, num_regs:%d, aging time:%" PRIu64 "\n",
+		       p_event->key, p_event->num_regs, p_event->aging_time);
 		p_list_item = cl_qlist_next(p_list_item);
 	}
 }
Signature · 6 lines
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html