Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:wait_on_pipe

Proto:static int wait_on_pipe(struct trace_iterator *iter, int full)

Type:int

Parameter:

TypeParameterName
struct trace_iterator *iter
intfull
1718  If trace_buffer_iter(iter, cpu_file) Then Return 0
1721  Return g_buffer_wait - wait for input to the ring buffer*@buffer: buffer to wait on*@cpu: the cpu buffer to wait on*@full: wait until a full page is available, if @cpu != RING_BUFFER_ALL_CPUS* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon
Caller
NameDescribe
tracing_wait_pipeMust be called with iter->mutex held.
tracing_buffers_read
tracing_buffers_splice_read