Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-28 12:33:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hist_trigger_show

Proto:static void hist_trigger_show(struct seq_file *m, struct event_trigger_data *data, int n)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
struct event_trigger_data *data
intn
5535  If n > 0 Then 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  If n_entries < 0 Then 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))
Caller
NameDescribe
hist_show