From 0f065cd7a99295785a873fb347ab6ad54dfa323c Mon Sep 17 00:00:00 2001 From: sleybo Date: Wed, 7 Feb 2007 12:02:19 +0000 Subject: [PATCH] [MTHCA] added processor number to all the debug prints git-svn-id: svn://openib.tc.cornell.edu/gen1@577 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/hw/mthca/kernel/hca_debug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/hw/mthca/kernel/hca_debug.h b/trunk/hw/mthca/kernel/hca_debug.h index 5fe31819..31a48cab 100644 --- a/trunk/hw/mthca/kernel/hca_debug.h +++ b/trunk/hw/mthca/kernel/hca_debug.h @@ -143,7 +143,7 @@ static void _build_str( const char * format, ... ) int __lvl = _level_; \ if (g_mthca_dbg_level >= (_level_) && \ (g_mthca_dbg_flags & (_flag_))) { \ - DbgPrint ("[MTHCA] %s() :", __FUNCTION__); \ + DbgPrint ("~%d:[MTHCA] %s() :", KeGetCurrentProcessorNumber(), __FUNCTION__); \ if(__lvl == TRACE_LEVEL_ERROR) DbgPrint ("***ERROR*** "); \ DbgPrint _msg_; \ } \ -- 2.41.0