diff mbox

[3/3,opensm] complib/cl_event_wheel.c: Add print of num_regs in cl_event_wheel_dump

Message ID 51E00522.3060204@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock July 12, 2013, 1:31 p.m. UTC
From: Alex Netes <alexne@mellanox.com>

num_regs is important information in debug mode.

Signed-off-by: Alex Netes <alexne@mellanox.com>
---
 complib/cl_event_wheel.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/complib/cl_event_wheel.c b/complib/cl_event_wheel.c
index 901ef8e..365804e 100644
--- a/complib/cl_event_wheel.c
+++ b/complib/cl_event_wheel.c
@@ -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);
 	}
 }