Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_poll

Proto:static __poll_t trace_poll(struct trace_iterator *iter, struct file *filp, poll_table *poll_table)

Type:__poll_t

Parameter:

TypeParameterName
struct trace_iterator *iter
struct file *filp
poll_table *poll_table
6032  tr = tr
6035  If trace_buffer_iter(iter, cpu_file) Then Return Epoll event masks | EPOLLRDNORM
6038  If trace_flags & TRACE_ITER_BLOCK Then Return Epoll event masks | EPOLLRDNORM
6043  Else Return g_buffer_poll_wait - poll on buffer input*@buffer: buffer to wait on*@cpu: the cpu buffer to wait on*@filp: the file descriptor*@poll_table: The poll descriptor* If @cpu == RING_BUFFER_ALL_CPUS then the task will wake up as soon
Caller
NameDescribe
tracing_poll_pipe
tracing_buffers_poll