函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_action_create_field_var

函数原型:static struct hist_field *trace_action_create_field_var(struct hist_trigger_data *hist_data, struct action_data *data, char *system, char *event, char *var)

返回类型:struct hist_field

参数:

类型参数名称
struct hist_trigger_data *hist_data
struct action_data *data
char *system
char *event
char *var
4194  struct hist_field * hist_field = NULL
4203  field_var等于reate_target_field_var - Automatically create a variable for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@var_name: The name of the field (and the resulting variable)* Hist
4205  如果field_var且非是错误
4206  save_field_var(hist_data, field_var)
4207  hist_field等于var
4208  否则
4209  field_var = NULL
4215  如果非systemhandler恒等于HANDLER_ONMATCH
4216  system等于event_system
4217  event等于event
4227  hist_field等于reate_field_var_hist - Automatically create a histogram and var for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@field_name: The name of the field (and the resulting variable)*
4228  如果是错误则转到:free
4231  out :
4232  返回:hist_field
4233  free :
4234  destroy_field_var(field_var)
4235  hist_field = NULL
4236  转到:out
调用者
名称描述
trace_action_create