函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:syscall_enter_define_fields

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

返回类型:int

参数:

类型参数名称
struct trace_event_call *call
276  meta等于data
279  offset等于offsetof(typeof(trace), args)
281  ret等于trace_define_field(call, SYSCALL_FIELD(int, nr, __syscall_nr), FILTER_OTHER)
283  如果ret则返回:ret
286 i小于nb_args循环
287  ret等于trace_define_field(call, types[i], args[i], offset, sizeof(unsignedlong), 0, FILTER_OTHER)
291  offset加等于sizeof(unsignedlong)
294  返回:ret