Function report |
Source Code:kernel\trace\trace_syscalls.c |
Create Date:2022-07-28 12:22:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ftrace_syscall_exit
Proto:static void ftrace_syscall_exit(void *data, struct pt_regs *regs, long ret)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | data | |
| struct pt_regs * | regs | |
| long | ret |
| 376 | If syscall_nr < 0 || syscall_nr >= NR_syscalls Then Return |
| 380 | trace_file = fetch RCU-sched-protected pointer for dereferencing(exit_syscall_files[syscall_nr]) |
| 381 | If Not trace_file Then Return |
| 387 | sys_data = syscall_nr_to_meta(syscall_nr) |
| 388 | If Not sys_data Then Return |
| 392 | pc = We mask the PREEMPT_NEED_RESCHED bit so as not to confuse all current users* that think a non-zero value indicates we cannot preempt. |
| 398 | If Not event Then Return |
| 401 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
| 402 | nr = syscall_nr |
| 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 |