Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:uprobe_event_define_fields

Proto:static int uprobe_event_define_fields(struct trace_event_call *event_call)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *event_call
1168  tu = trace_uprobe_primary_from_call(event_call)
1169  If Value for the false possibility is greater at compile time(!tu) Then Return -ENODEV
1172  If is_ret_probe(tu) Then
1173  DEFINE_FIELD(unsignedlong, vaddr[0], FIELD_STRING_FUNC, 0)
1174  DEFINE_FIELD(unsignedlong, vaddr[1], FIELD_STRING_RETIP, 0)
1175  size = SIZEOF_TRACE_ENTRY(true)
1176  Else
1177  DEFINE_FIELD(unsignedlong, vaddr[0], Reserved field names , 0)
1178  size = SIZEOF_TRACE_ENTRY(false)
1181  Return traceprobe_define_arg_fields(event_call, size, & tp)