[ofw] [PATCH] IBAL: Fix WPP trace previx for AL_PRINT
Leonid Keller
leonid at mellanox.co.il
Mon Feb 16 04:07:21 PST 2009
Applied in 1967, thank you.
> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Fab Tillier
> Sent: Wednesday, February 04, 2009 5:25 AM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] [PATCH] IBAL: Fix WPP trace previx for AL_PRINT
>
> 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
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>
More information about the ofw
mailing list