函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:wait_on_pipe

函数原型:static int wait_on_pipe(struct trace_iterator *iter, int full)

返回类型:int

参数:

类型参数名称
struct trace_iterator *iter
intfull
1718  如果trace_buffer_iter(iter, cpu_file)则返回:0
1721  返回: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
调用者
名称描述
tracing_wait_pipeMust be called with iter->mutex held.
tracing_buffers_read
tracing_buffers_splice_read