函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_kprobe.c Create Date:2022-07-27 13:50:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kretprobe_event_define_fields

函数原型:static int kretprobe_event_define_fields(struct trace_event_call *event_call)

返回类型:int

参数:

类型参数名称
struct trace_event_call *event_call
1358  tp等于trace_probe_primary_from_call(event_call)
1359  如果WARN_ON_ONCE(!tp)则返回:负ENOENT
1362  DEFINE_FIELD(unsignedlong, func, FIELD_STRING_FUNC, 0)
1363  DEFINE_FIELD(unsignedlong, ret_ip, FIELD_STRING_RETIP, 0)
1365  返回:traceprobe_define_arg_fields(event_call, field的长度, tp)