Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:traceprobe_define_arg_fields

Proto:int traceprobe_define_arg_fields(struct trace_event_call *event_call, size_t offset, struct trace_probe *tp)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *event_call
size_toffset
struct trace_probe *tp
928  When i < nr_args cycle
929  parg = args[i]
930  fmt = Name in format file
931  size = Byte size of type
933  If Format string if needed Then fmt = Format string if needed
935  If Array count Then size *= Array count
937  ret = trace_define_field(event_call, fmt, Name of this argument , offset + Offset from argument entry , size, Signed flag , FILTER_OTHER)
941  If ret Then Return ret
944  Return 0
Caller
NameDescribe
kretprobe_event_define_fields
uprobe_event_define_fields
kprobe_event_define_fields