Function report | 
Source Code:kernel\trace\trace_syscalls.c | 
Create Date:2022-07-28 12:22:24 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:init_ftrace_syscalls
Proto:void __init init_ftrace_syscalls(void)
Type:void
Parameter:Nothing
| 547 | syscalls_metadata = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). | 
| 550 | If Not syscalls_metadata Then | 
| 551 | WARN_ON(1) | 
| 552 | Return | 
| 556 | When i < NR_syscalls cycle | 
| 557 | addr = arch_syscall_addr(i) | 
| 558 | meta = find_syscall_meta(addr) | 
| 559 | If Not meta Then Continue | 
| 562 | syscall_nr = i | 
| 565 | syscalls_metadata[i] = meta | 
| 566 | Else | 
| 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  |