Function report |
Source Code:kernel\trace\trace_syscalls.c |
Create Date:2022-07-28 12:22:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reg_event_syscall_enter
Proto:static int reg_event_syscall_enter(struct trace_event_file *file, struct trace_event_call *call)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_event_file * | file | |
struct trace_event_call * | call |
413 | ret = 0 |
416 | num = syscall_nr |
417 | If WARN_ON_ONCE(num < 0 || num >= NR_syscalls) Then Return -ENOSYS |
419 | mutex_lock( & syscall_trace_lock) |
420 | If Not sys_refcount_enter Then ret = register_trace_sys_enter(ftrace_syscall_enter, tr) |
422 | If Not ret Then |
424 | sys_refcount_enter++ |
427 | Return ret |
Name | Describe |
---|---|
syscall_enter_register |
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 |