函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_syscalls.c Create Date:2022-07-27 13:29:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:syscall_nr_to_meta

函数原型:static struct syscall_metadata *syscall_nr_to_meta(int nr)

返回类型:struct syscall_metadata

参数:

类型参数名称
intnr
106  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HAVE_SPARSE_SYSCALL_NR)则返回:xa_load() - Load an entry from an XArray.*@xa: XArray.*@index: index into array.* Context: Any context. Takes and releases the RCU lock.* Return: The entry at @index in @xa.
109  如果非syscalls_metadatanr大于等于NR_syscallsnr小于0则返回:NULL
112  返回:syscalls_metadata[nr]
调用者
名称描述
get_syscall_name
print_syscall_enter
print_syscall_exit
ftrace_syscall_enter
ftrace_syscall_exit