diff options
author | Roland McGrath <roland@redhat.com> | 2008-07-26 04:46:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 21:00:10 +0200 |
commit | ebcb67341fee34061430f3367f2e507e52ee051b (patch) | |
tree | c6790a014ead7c6432178aa2a0dac7eb41c25b40 /sound | |
parent | task_current_syscall (diff) | |
download | linux-ebcb67341fee34061430f3367f2e507e52ee051b.tar.xz linux-ebcb67341fee34061430f3367f2e507e52ee051b.zip |
/proc/PID/syscall
This adds /proc/PID/syscall and /proc/PID/task/TID/syscall magic files.
These use task_current_syscall() to show the task's current system call
number and argument registers, stack pointer and PC. For a task blocked
but not in a syscall, the file shows "-1" in place of the syscall number,
followed by only the SP and PC. For a task that's not blocked, it shows
"running".
Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Reviewed-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions