函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hist_trigger_show

函数原型:static void hist_trigger_show(struct seq_file *m, struct event_trigger_data *data, int n)

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct event_trigger_data *data
intn
5535  如果n大于0则seq_puts(m, "\n\n")
5538  seq_puts(m, "# event histogram\n#\n# trigger info: ")
5539  print(m, ops, data)
5540  seq_puts(m, "#\n\n")
5542  hist_data等于private_data
5543  n_entries等于print_entries(m, hist_data)
5544  如果n_entries小于0则n_entries等于0
5547  track_data_snapshot_print(m, hist_data)
5549  seq_printf(m, "\nTotals:\n Hits: %llu\n Entries: %u\n Dropped: %llu\n", (u64)atomic64_read( & hits), n_entries, (u64)atomic64_read( & drops))
调用者
名称描述
hist_show