Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:31:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_action_create_field_var

Proto: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)

Type:struct hist_field

Parameter:

TypeParameterName
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  If field_var && Not IS_ERR(field_var) Then
4206  save_field_var(hist_data, field_var)
4207  hist_field = var
4208  Else
4209  field_var = NULL
4215  If Not system && handler == HANDLER_ONMATCH Then
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  If IS_ERR(hist_field) Then Go to free
4231  out :
4232  Return hist_field
4233  free :
4234  destroy_field_var(field_var)
4235  hist_field = NULL
4236  Go to out
Caller
NameDescribe
trace_action_create