[Ocfs2-devel] [PATCH] ocfs2: Add current->comm in trace output
    Joel Becker 
    Joel.Becker at oracle.com
       
    Wed Feb 17 20:05:15 PST 2010
    
    
  
On Wed, Feb 17, 2010 at 11:21:50AM -0800, Sunil Mushran wrote:
> Joel Becker wrote:
> >On Fri, Feb 12, 2010 at 02:09:06PM -0800, Sunil Mushran wrote:
> >>Add current->comm to the standard mlog() output to help with debugging.
> >>
> >>Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com>
> >	Do you have sample output?  This could get long, no?
> 
> It is a bit longer. But it is much more readable.
> 
> (thisisalongname,16751,0):ocfs2_drop_lock:3202 EXIT: 0
> (thisisalongname,16751,0):ocfs2_lock_res_free:734 ENTRY:
> (thisisalongname,16751,0):ocfs2_lock_res_free:761 EXIT
> (kjournald2,16039,1):ocfs2_bmap:499 ENTRY:(block = 117)
> (kjournald2,16039,1):ocfs2_bmap:533 EXIT: 33493
> (kjournald2,16039,1):ocfs2_bmap:499 ENTRY:(block = 118)
	Yeah, this is nice.  It's now in the 'merge-window' branch of
ocfs2.git.
Joel
-- 
Life's Little Instruction Book #452
	"Never compromise your integrity."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
    
    
More information about the Ocfs2-devel
mailing list