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:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static struct field_var *create_target_field_var(struct hist_trigger_data *target_hist_data, char *subsys_name, char *event_name, char *var_name)

Type:struct field_var

Parameter:

TypeParameterName
struct hist_trigger_data *target_hist_data
char *subsys_name
char *event_name
char *var_name
3593  file = event_file
3595  If subsys_name Then
3598  If Not event_name Then Return NULL
3601  call = event_call
3603  If strcmp(subsys_name, system) != 0 Then Return NULL
3606  If strcmp(event_name, trace_event_name(call)) != 0 Then Return NULL
3610  Return create_field_var(target_hist_data, file, var_name)
Caller
NameDescribe
trace_action_create_field_var
action_create