Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:kretprobe_event_define_fields

Proto:static int kretprobe_event_define_fields(struct trace_event_call *event_call)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *event_call
1358  tp = trace_probe_primary_from_call(event_call)
1359  If WARN_ON_ONCE(!tp) Then Return -ENOENT
1362  DEFINE_FIELD(unsignedlong, func, FIELD_STRING_FUNC, 0)
1363  DEFINE_FIELD(unsignedlong, ret_ip, FIELD_STRING_RETIP, 0)
1365  Return traceprobe_define_arg_fields(event_call, size of field , tp)