Function report | 
Source Code:lib\syscall.c | 
Create Date:2022-07-28 07:12:36 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:ask_current_syscall - Discover what a blocked task is doing.*@target: thread to examine*@info: structure with the following fields:* .sp - filled with user stack pointer* .data.nr - filled with system call number or -1*
Proto:int task_current_syscall(struct task_struct *target, struct syscall_info *info)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct task_struct * | target | |
| struct syscall_info * | info | 
| 67 | If target == current process Then Return collect_syscall(target, info) | 
| 71 | If Value for the false possibility is greater at compile time(!state) Then Return -EAGAIN | 
| 74 | ncsw = wait_task_inactive(target, state) | 
| 80 | Return 0 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |