函数逻辑报告 | 
Source Code:kernel\trace\trace_events_hist.c | 
Create Date:2022-07-27 13:42:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:add_to_key
函数原型:static inline void add_to_key(char *compound_key, void *key, struct hist_field *key_field, void *rec)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| char * | compound_key | |
| void * | key | |
| struct hist_field * | key_field | |
| void * | rec | 
| 5284 | 如果flags按位与HIST_FIELD_FL_STRING则 | 
| 5288 | 如果filter_type恒等于FILTER_DYN_STRING则size等于*rec加offset的和右移16位 | 
| 5290 | 否则如果filter_type恒等于FILTER_PTR_STRING则size等于strlen - Find the length of a string*@s: The string to be sized | 
| 5292 | 否则如果filter_type恒等于FILTER_STATIC_STRING则size等于size | 
| 5299 | strncpy(compound_key + offset, (char * )key, size) | 
| 5300 | 否则内存复制(compound_key + offset, key, size) | 
| 名称 | 描述 | 
|---|---|
| event_hist_trigger | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |