函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:42:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hist_trigger_entry_print

函数原型:static void hist_trigger_entry_print(struct seq_file *m, struct hist_trigger_data *hist_data, void *key, struct tracing_map_elt *elt)

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct hist_trigger_data *hist_data
void *key
struct tracing_map_elt *elt
5480  hist_trigger_print_key(m, hist_data, key, elt)
5482  seq_printf(m, " hitcount: %10llu", racing_map_read_sum - Return the value of a tracing_map_elt's sum field*@elt: The tracing_map_elt*@i: The index of the given sum associated with the tracing_map_elt* Retrieve the value of the sum i associated with the specified* tracing_map_elt instance)
5485 i小于n_vals循环
5486  field_name等于hist_field_name(fields[i], 0)
5488  如果flags按位与HIST_FIELD_FL_VARflags按位与HIST_FIELD_FL_EXPR则继续下一循环
5492  如果flags按位与HIST_FIELD_FL_HEX
5495  否则
5501  print_actions(m, hist_data, elt)
5503  seq_puts(m, "\n")
调用者
名称描述
print_entries