diff options
author | Roland McGrath <roland@redhat.com> | 2008-07-26 04:45:59 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 21:00:10 +0200 |
commit | bbc698636ed48b6fcd323964e0f847a6a796325d (patch) | |
tree | c90d31c179aad154089a88d4845f1721ded40860 /sound | |
parent | tracehook: wait_task_inactive (diff) | |
download | linux-bbc698636ed48b6fcd323964e0f847a6a796325d.tar.xz linux-bbc698636ed48b6fcd323964e0f847a6a796325d.zip |
task_current_syscall
This adds the new function task_current_syscall() on machines where the
asm/syscall.h interface is supported (CONFIG_HAVE_ARCH_TRACEHOOK). It's
exported for modules to use in the future. This function safely samples
the state of a blocked thread to collect what system call it is blocked
in, and the six system call argument registers.
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