Function report |
Source Code:kernel\trace\trace_syscalls.c |
Create Date:2022-07-28 12:22:08 |
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_enter
Proto:static void ftrace_syscall_enter(void *data, struct pt_regs *regs, long id)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void * | data | |
struct pt_regs * | regs | |
long | id |
328 | If syscall_nr < 0 || syscall_nr >= NR_syscalls Then Return |
332 | trace_file = fetch RCU-sched-protected pointer for dereferencing(enter_syscall_files[syscall_nr]) |
333 | If Not trace_file Then Return |
339 | sys_data = syscall_nr_to_meta(syscall_nr) |
340 | If Not sys_data Then Return |
346 | 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. |
351 | If Not event Then Return |
354 | entry = g_buffer_event_data - return the data of the event*@event: the event to get the data from |
355 | nr = syscall_nr |
357 | No 3D Now!(args, args, sizeof(unsignedlong) * nb_args) |
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 |