函数逻辑报告 |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-27 13:40:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:find_synthetic_field_var
函数原型:static struct hist_field *find_synthetic_field_var(struct hist_trigger_data *target_hist_data, char *system, char *event_name, char *field_name)
返回类型:struct hist_field
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct hist_trigger_data * | target_hist_data | |
| char * | system | |
| char * | event_name | |
| char * | field_name |
| 3246 | synthetic_name等于分配内存并置零 |
| 3247 | 如果非synthetic_name则返回:错误号 |
| 3250 | strcpy(synthetic_name, "synthetic_") |
| 3251 | strcat(synthetic_name, field_name) |
| 3255 | kfree(synthetic_name) |
| 3257 | 返回:event_var |
| 名称 | 描述 |
|---|---|
| create_field_var_hist | reate_field_var_hist - Automatically create a histogram and var for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@field_name: The name of the field (and the resulting variable)* |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |