函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:init_syscall_trace

函数原型:static int __init init_syscall_trace(struct trace_event_call *call)

返回类型:int

参数:

类型参数名称
struct trace_event_call *call
490  num等于syscall_nr
491  如果num小于0或num大于等于NR_syscalls
492  pr_debug("syscall %s metadata not mapped, disabling ftrace event\n", name)
494  返回:负ENOSYS
497  如果set_syscall_print_fmt(call)小于0则返回:负ENOMEM
500  id等于trace_event_raw_init(call)
502  如果id小于0则
503  free_syscall_print_fmt(call)
504  返回:id
507  返回:id