On Wed, Apr 09, 2008 at 05:40:41PM -0500, Dean Luick wrote:
> When running on multiple hosts with output coalesced, it is useful to
> be able to isolate messages from individual processes.  This patch adds
> the string "[hostname:pid] " to all messages emitted by libhugetlbfs.
> 
> This change uses a GNU extension of CPP that will eat a preceeding
> comma when using ##__VA_ARGS__ and __VA_ARGS__ is empty.
> 
> Signed-off-by: Dean Luick <[EMAIL PROTECTED]> on behalf of Cray Inc.

This version looks reasonable to me.

Acked-by: David Gibson <[EMAIL PROTECTED]>

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to