函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_define_field

函数原型:int trace_define_field(struct trace_event_call *call, const char *type, const char *name, int offset, int size, int is_signed, int filter_type)

返回类型:int

参数:

类型参数名称
struct trace_event_call *call
const char *type
const char *name
intoffset
intsize
intis_signed
intfilter_type
138  如果WARN_ON(!class)则返回:0
141  head等于trace_get_fields(call)
142  返回:__trace_define_field(head, type, name, offset, size, is_signed, filter_type)
调用者
名称描述
syscall_enter_define_fields
syscall_exit_define_fields
synth_event_define_fields
traceprobe_define_arg_fields