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

Name:init_syscall_trace

Proto:static int __init init_syscall_trace(struct trace_event_call *call)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *call
490  num = syscall_nr
491  If num < 0 || num >= NR_syscalls Then
492  pr_debug("syscall %s metadata not mapped, disabling ftrace event\n", name)
494  Return -ENOSYS
497  If set_syscall_print_fmt(call) < 0 Then Return -ENOMEM
500  id = trace_event_raw_init(call)
502  If id < 0 Then
503  free_syscall_print_fmt(call)
504  Return id
507  Return id