diff options
| author | Roland McGrath <[email protected]> | 2008-07-25 19:45:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-26 12:00:10 -0700 |
| commit | bbc698636ed48b6fcd323964e0f847a6a796325d (patch) | |
| tree | c90d31c179aad154089a88d4845f1721ded40860 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | 85ba2d862e521375a8ee01526c5c46b1f24bb4af (diff) | |
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 <[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