函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kprobe_event_define_fields

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

返回类型:int

参数:

类型参数名称
struct trace_event_call *event_call
1343  tp等于trace_probe_primary_from_call(event_call)
1344  如果WARN_ON_ONCE(!tp)则返回:负ENOENT
1347  DEFINE_FIELD(unsignedlong, ip, Reserved field names , 0)
1349  返回:traceprobe_define_arg_fields(event_call, field的长度, tp)