On Wed, Feb 15, 2012 at 8:17 PM, Alexandru Juncu <alex.juncu@rosedu.org> wrote:

Now, to track what the kernel is doing, while in a syscall, I can't
remember a tool that would do that... maybe somebody else can help.


Ftrace is a tool which does just that :)

Some links:
http://lwn.net/Articles/322666/
http://lxr.linux.no/#linux+v3.2.6/Documentation/trace/ftrace.txt