lkml.org 
[lkml]   [2005]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHow to get blocking information?
Hi,

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.

Thanks!
Yi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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