Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:18:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_define_field

Proto:int trace_define_field(struct trace_event_call *call, const char *type, const char *name, int offset, int size, int is_signed, int filter_type)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *call
const char *type
const char *name
intoffset
intsize
intis_signed
intfilter_type
138  If WARN_ON(!class) Then Return 0
141  head = trace_get_fields(call)
142  Return __trace_define_field(head, type, name, offset, size, is_signed, filter_type)
Caller
NameDescribe
syscall_enter_define_fields
syscall_exit_define_fields
synth_event_define_fields
traceprobe_define_arg_fields