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:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_syscall_meta

Proto:static __init struct syscall_metadata *find_syscall_meta(unsigned long syscall)

Type:struct syscall_metadata

Parameter:

TypeParameterName
unsigned longsyscall
90  start = __start_syscalls_metadata
91  stop = __stop_syscalls_metadata
92  Lookup an address* - modname is set to NULL if it's in the kernel.* - We guarantee that the returned name is valid until we reschedule even if.* It resides in a module.* - We also guarantee that modname will be valid until rescheduled.
94  If arch_syscall_match_sym_name(str, "sys_ni_syscall") Then Return NULL
97  When start < stop cycle
98  If name && arch_syscall_match_sym_name(str, name) Then Return start
101  Return NULL
Caller
NameDescribe
init_ftrace_syscalls