[MTHCA] mthca wpp debug use the same format .
[mirror/winof/.git] / hw / mthca / kernel / hca_debug.h
index 8e737a5..7ecfed4 100644 (file)
@@ -96,9 +96,11 @@ static void _build_str( const char * format, ... )
 // begin_wpp config\r
 // HCA_ENTER(FLAG);\r
 // HCA_EXIT(FLAG);\r
-// USEPREFIX(HCA_PRINT, "%!STDPREFIX! %!FUNC!() :");\r
-// USESUFFIX(HCA_ENTER, " %!FUNC!()===>");\r
-// USESUFFIX(HCA_EXIT, " %!FUNC!()<===");\r
+// USEPREFIX(HCA_PRINT, "%!STDPREFIX! [MTHCA] :%!FUNC!() :");\r
+// USEPREFIX(HCA_PRINT_EXIT, "%!STDPREFIX! [MTHCA] :%!FUNC!() :");\r
+// USESUFFIX(HCA_PRINT_EXIT, "[MTHCA] :%!FUNC!():]");\r
+// USESUFFIX(HCA_ENTER, " [MTHCA] :%!FUNC!()[");\r
+// USESUFFIX(HCA_EXIT, " [MTHCA] :%!FUNC!()]");\r
 // end_wpp\r
 \r
 \r
@@ -158,10 +160,10 @@ static void _build_str( const char *      format, ... )
        }\r
 \r
 #define HCA_ENTER(flags)\\r
-       HCA_PRINT(TRACE_LEVEL_VERBOSE, flags,("===>\n"));\r
+       HCA_PRINT(TRACE_LEVEL_VERBOSE, flags,("[\n"));\r
 \r
 #define HCA_EXIT(flags)\\r
-       HCA_PRINT(TRACE_LEVEL_VERBOSE, flags, ("<===\n" ));\r
+       HCA_PRINT(TRACE_LEVEL_VERBOSE, flags, ("]\n" ));\r
 \r
 \r
 #define HCA_PRINT_EXIT(_level_,_flag_,_msg_)   \\r