[lkml]   [2005]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectHow to get blocking information?

I am new to Linux kernel and now working on a project, which tries to
modifies the kernel a little bit and get some blocking information
about system calls. That is, if a system call gets blocked (put into
sleep), I want to know the "reason for sleep" and the "file name &
line number which causes the blocking".

I know that there are data structs in FreeBSD holding these
information, but I don't know if linux has the same facility
(functions / data structs). Hope someone can give me a hint.

Also, I wonder if ru_majflt in struct rusage (linux/resource.c) is
already implemented.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-12-27 05:53    [W:0.050 / U:5.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site