]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[IBAL] Fix WPP trace previx for AL_PRINT
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Feb 2009 12:06:19 +0000 (12:06 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Feb 2009 12:06:19 +0000 (12:06 +0000)
The AL_PRINT WPP prefix adds a space before the colon.  This makes output look funny if you use AL_PRINT instead of AL_ENTER to create a more detailed entry message (with parameter values, for example), as the colon won't align.  This makes it hard to search a file for function entry.

Signed-off-by: Fab Tillier <ftillier@microsoft.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@1967 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

trunk/core/al/al_debug.h

index 4572b70f1f6a5042b25a7942b1a6f93f9ebbac0b..b7f9c30cabadf108bd4201cb81a93079776d4481 100644 (file)
@@ -132,7 +132,7 @@ extern uint32_t                     g_al_dbg_flags;
 // begin_wpp config\r
 // AL_ENTER( FLAG );\r
 // AL_EXIT( FLAG );\r
-// USEPREFIX(AL_PRINT, "%!STDPREFIX! [AL] :%!FUNC!() :");\r
+// USEPREFIX(AL_PRINT, "%!STDPREFIX! [AL] :%!FUNC!():");\r
 // USESUFFIX(AL_ENTER, " [AL] :%!FUNC!():[");\r
 // USESUFFIX(AL_EXIT, " [AL] :%!FUNC!():]");\r
 // end_wpp\r