[ofw] [PATCH] IBAL: Fix WPP trace previx for AL_PRINT

Fab Tillier ftillier at windows.microsoft.com
Tue Feb 3 19:24:31 PST 2009


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 at microsoft.com>

Index: core/al/al_debug.h
===================================================================
--- core/al/al_debug.h  (revision 1924)
+++ core/al/al_debug.h  (working copy)
@@ -132,7 +132,7 @@
 // begin_wpp config
 // AL_ENTER( FLAG );
 // AL_EXIT( FLAG );
-// USEPREFIX(AL_PRINT, "%!STDPREFIX! [AL] :%!FUNC!() :");
+// USEPREFIX(AL_PRINT, "%!STDPREFIX! [AL] :%!FUNC!():");
 // USESUFFIX(AL_ENTER, " [AL] :%!FUNC!():[");
 // USESUFFIX(AL_EXIT, " [AL] :%!FUNC!():]");
 // end_wpp



More information about the ofw mailing list