Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_syscalls.c Create Date:2022-07-28 12:21:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:syscall_nr_to_meta

Proto:static struct syscall_metadata *syscall_nr_to_meta(int nr)

Type:struct syscall_metadata

Parameter:

TypeParameterName
intnr
106  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HAVE_SPARSE_SYSCALL_NR) Then Return 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  If Not syscalls_metadata || nr >= NR_syscalls || nr < 0 Then Return NULL
112  Return syscalls_metadata[nr]
Caller
NameDescribe
get_syscall_name
print_syscall_enter
print_syscall_exit
ftrace_syscall_enter
ftrace_syscall_exit