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

Name:syscall_enter_define_fields

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

Type:int

Parameter:

TypeParameterName
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  If ret Then Return ret
286  When i < nb_args cycle
287  ret = trace_define_field(call, types[i], args[i], offset, sizeof(unsignedlong), 0, FILTER_OTHER)
291  offset += sizeof(unsignedlong)
294  Return ret