On 12.11.2006 [11:20:13 +1100], David Gibson wrote:
> On Fri, Nov 10, 2006 at 01:46:41PM -0800, Nishanth Aravamudan wrote:
> > On 10.11.2006 [14:35:30 +1100], David Gibson wrote:
> > > Two things to make debugging easier:
> > >   - Use an fflush() after each verbose_printf(), so that line
> > > buffering won't mean messages get re-ordered w.r.t. the operations
> > > they're describing (this can be particularly confusing when straceing
> > > a testcase).
> > >   - When quiet mode isn't on, print the testname and pid at the
> > > beginning of each test from test_init().  This saves a few steps
> > > finding the pid when attaching gdb, or strace, or examining
> > > /proc/XX/maps.
> > 
> > No Signed-off-by...
> 
> Oops, bother.  Here we go again:
> 
> Small tweaks to make debugging failing testcases easier
> 
> Two things to make debugging easier:
>       - Use an fflush() after each verbose_printf(), so that line
> buffering won't mean messages get re-ordered w.r.t. the operations
> they're describing (this can be particularly confusing when straceing
> a testcase).
>       - When quiet mode isn't on, print the testname and pid at the
> beginning of each test from test_init().  This saves a few steps
> finding the pid when attaching gdb, or strace, or examining
> /proc/XX/maps.
> 
> Signed-off-by: David Gibson <[EMAIL PROTECTED]>

Applied, thanks,
Nish

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to