Function report |
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 activity | Download SCCT | Chinese |
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:
Type | Parameter | Name |
---|---|---|
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) |
Name | Describe |
---|---|
trace_action_create_field_var | |
action_create |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |