[Ocfs2-devel] ftrace question about ocfs2

Tariq Saeed tariq.x.saeed at oracle.com
Thu Jun 18 18:12:23 PDT 2015


Hi,
I apologize for using this list but no response to my query from 
individual email.
There are trace calls like all over the code that seem to write into the 
ftrace buffer.
trace_ocfs2_lookup(dir, dentry, dentry->d_name.len,
                            dentry->d_name.name,
                            (unsigned long long)OCFS2_I(dir)->ip_blkno, 0);

But ftrace only shows fn name. No arguments. For example here is a 
snippet from ls command.
               ls-8932  [000] 10729002.743220: ocfs2_lookup <-do_lookup
               ls-8932  [000] 10729002.743227: 
ocfs2_inode_lock_full_nested <-ocfs2_lookup

How do I get it to write args in the buffer and then display.

Thank You.
-Tariq Saeed




More information about the Ocfs2-devel mailing list