Re: Understanding VFS & Filesystem using proc fs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Have look at ftrace. You can set filters at all the functions that you care about. I  am not sure if you can do this on per process basis though. Anyone ?


Shailesh Jain

On Mon, Oct 19, 2009 at 2:08 AM, Leena M. <kernmonk@xxxxxxxxx> wrote:
Hi All ,
       I have sprinkled printk's in each and every function in VFS and Filesystem which I want to understand.
I want to trace the functions which are executed when I execute a system call in user space for my process.
I want to print the trace only for  my process , so i want to somehow pass the the pid from the user space and
use struct task_struct . Can I do it though the proc filesystem or is there any other idea to do this.

Regards,
Leena


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux