函数逻辑报告 |
Source Code:kernel\trace\trace_events_hist.c |
Create Date:2022-07-27 13:40:35 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:track_data_print
函数原型:static void track_data_print(struct seq_file *m, struct hist_trigger_data *hist_data, struct tracing_map_elt *elt, struct action_data *data)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | m | |
struct hist_trigger_data * | hist_data | |
struct tracing_map_elt * | elt | |
struct action_data * | data |
3789 | track_val等于get_track_val(hist_data, elt, data) |
3792 | 如果handler恒等于HANDLER_ONMAX则seq_printf(m, "\n\tmax: %10llu", track_val) |
3794 | 否则如果handler恒等于HANDLER_ONCHANGE则seq_printf(m, "\n\tchanged: %10llu", track_val) |
3797 | 如果action恒等于ACTION_SNAPSHOT则返回 |
3800 | 以i小于n_save_vars循环 |
3805 | save_var_idx等于idx |
3809 | 如果flags按位与HIST_FIELD_FL_STRING则 |
3810 | seq_printf(m, " %s: %-32s", name, (char * )(uintptr_t)(val)) |
3812 | 否则seq_printf(m, " %s: %10llu", name, val) |
名称 | 描述 |
---|---|
print_actions |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |