函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_poll

函数原型:static __poll_t trace_poll(struct trace_iterator *iter, struct file *filp, poll_table *poll_table)

返回类型:__poll_t

参数:

类型参数名称
struct trace_iterator *iter
struct file *filp
poll_table *poll_table
6032  tr等于tr
6035  如果trace_buffer_iter(iter, cpu_file)则返回:Epoll event masks 按位或EPOLLRDNORM
6038  如果trace_flags按位与TRACE_ITER_BLOCK则返回:Epoll event masks 按位或EPOLLRDNORM
6043  否则返回: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
调用者
名称描述
tracing_poll_pipe
tracing_buffers_poll