| Function report | 
| Source Code: kernel\trace\trace_events_hist.c | Create Date:2022-07-28 12:30:41 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:parse_atom
Proto:static struct hist_field *parse_atom(struct hist_trigger_data *hist_data, struct trace_event_file *file, char *str, unsigned long *flags, char *var_name)
Type:struct hist_field
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct hist_trigger_data * | hist_data | |
| struct trace_event_file * | file | |
| char * | str | |
| unsigned long * | flags | |
| char * | var_name | 
| 2883 | struct ftrace_event_field * field = NULL | 
| 2884 | struct hist_field * hist_field = NULL | 
| 2885 | ret = 0 | 
| 2887 | s = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 2888 | If s Then | 
| 2889 | s = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 2890 | If s Then | 
| 2892 | If Not str Then | 
| 2897 | If Not str Then | 
| 2905 | s = local_field_var_ref(hist_data, ref_system, ref_event, ref_var) | 
| 2906 | If Not s Then | 
| 2907 | hist_field = parse_var_ref(hist_data, ref_system, ref_event, ref_var) | 
| 2909 | If hist_field Then | 
| 2910 | If var_name Then | 
| 2911 | hist_field = create_alias(hist_data, hist_field, var_name) | 
| 2912 | If Not hist_field Then | 
| 2917 | Return hist_field | 
| 2928 | hist_field = create_hist_field(hist_data, field, * flags, var_name) | 
| 2929 | If Not hist_field Then | 
| 2934 | Return hist_field | 
| 2935 | out : | 
| Name | Describe | 
|---|---|
| parse_expr | |
| create_field_var | 
| 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 |