Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_total_entries

Proto:static void get_total_entries(struct trace_buffer *buf, unsigned long *total, unsigned long *entries)

Type:void

Parameter:

TypeParameterName
struct trace_buffer *buf
unsigned long *total
unsigned long *entries
3635  total = 0
3636  entries = 0
3638  for_each_tracing_cpu(cpu)
3639  get_total_entries_cpu(buf, & t, & e, cpu)
3640  total += t
3641  entries += e
Caller
NameDescribe
trace_total_entries
print_event_info
print_trace_header