Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:init_ftrace_syscalls

Proto:void __init init_ftrace_syscalls(void)

Type:void

Parameter:Nothing

546  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_HAVE_SPARSE_SYSCALL_NR) Then
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
566  Else