| 函数逻辑报告 | 
| Source Code: kernel\trace\trace_events_hist.c | Create Date:2022-07-27 13:39:40 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:parse_atom
函数原型: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)
返回类型:struct hist_field
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| 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 | 如果s则 | 
| 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 | 如果s则 | 
| 2905 | s等于local_field_var_ref(hist_data, ref_system, ref_event, ref_var) | 
| 2906 | 如果非s则 | 
| 2907 | hist_field等于parse_var_ref(hist_data, ref_system, ref_event, ref_var) | 
| 2909 | 如果hist_field则 | 
| 2910 | 如果var_name则 | 
| 2911 | hist_field等于create_alias(hist_data, hist_field, var_name) | 
| 2912 | 如果非hist_field则 | 
| 2917 | 返回:hist_field | 
| 2923 | 如果是错误则 | 
| 2928 | hist_field等于create_hist_field(hist_data, field, * flags, var_name) | 
| 2929 | 如果非hist_field则 | 
| 2934 | 返回:hist_field | 
| 2935 | out : | 
| 2936 | 返回:错误号 | 
| 名称 | 描述 | 
|---|---|
| parse_expr | |
| create_field_var | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |