Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_init_global_iter

Proto:void trace_init_global_iter(struct trace_iterator *iter)

Type:void

Parameter:

TypeParameterName
struct trace_iterator *iter
9038  tr = The global_trace is the descriptor that holds the top-level tracing* buffers for the live tracing.
9039  trace = current_trace
9040  cpu_file = RING_BUFFER_ALL_CPUS
9041  trace_buffer = trace_buffer
9043  If trace && open Then open(iter)
9047  If g_buffer_overruns - get the number of overruns in buffer*@buffer: The ring buffer* Returns the total number of overruns in the ring buffer* (all CPU entries) Then iter_flags |= TRACE_FILE_ANNOTATE
9051  If is this clock in nanoseconds? Then iter_flags |= TRACE_FILE_TIME_IN_NS
Caller
NameDescribe
ftrace_dump
kdb_ftdumpkdb_ftdump - Dump the ftrace log buffer