函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:traceprobe_define_arg_fields

函数原型:int traceprobe_define_arg_fields(struct trace_event_call *event_call, size_t offset, struct trace_probe *tp)

返回类型:int

参数:

类型参数名称
struct trace_event_call *event_call
size_toffset
struct trace_probe *tp
928 i小于nr_args循环
929  parg等于args[i]
930  fmt等于Name in format file
931  size等于Byte size of type
933  如果 Format string if needed fmt等于 Format string if needed
935  如果 Array count 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  如果ret则返回:ret
944  返回:0
调用者
名称描述
kretprobe_event_define_fields
uprobe_event_define_fields
kprobe_event_define_fields