函数逻辑报告 |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-27 13:39:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:reate_var_ref - Create a variable reference and attach it to trigger*@hist_data: The trigger that will be referencing the variable*@var_field: The VAR field to create a reference to*@system: The optional system string*@event_name: The optional event_name
函数原型:static struct hist_field *create_var_ref(struct hist_trigger_data *hist_data, struct hist_field *var_field, char *system, char *event_name)
返回类型:struct hist_field
参数:
类型 | 参数 | 名称 |
---|---|---|
struct hist_trigger_data * | hist_data | |
struct hist_field * | var_field | |
char * | system | |
char * | event_name |
2691 | flags等于HIST_FIELD_FL_VAR_REF |
2696 | 以i小于n_var_refs循环 |
2700 | get_hist_field(ref_field) |
2701 | 返回:ref_field |
2705 | ref_field等于create_hist_field(hist_data, NULL, flags, NULL) |
2706 | 如果ref_field则 |
2707 | 如果init_var_ref(ref_field, var_field, system, event_name)则 |
2708 | destroy_hist_field(ref_field, 0) |
2709 | 返回:NULL |
2712 | var_refs[n_var_refs]等于ref_field |
2716 | 返回:ref_field |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |