aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ibm_emac/ibm_emac_debug.c
diff options
context:
space:
mode:
authorRoland McGrath <[email protected]>2008-07-25 19:46:00 -0700
committerLinus Torvalds <[email protected]>2008-07-26 12:00:10 -0700
commitebcb67341fee34061430f3367f2e507e52ee051b (patch)
treec6790a014ead7c6432178aa2a0dac7eb41c25b40 /drivers/net/ibm_emac/ibm_emac_debug.c
parentbbc698636ed48b6fcd323964e0f847a6a796325d (diff)
/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 <[email protected]> Cc: Oleg Nesterov <[email protected]> Reviewed-by: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions