函数逻辑报告 |
Source Code:kernel\trace\ring_buffer.c |
Create Date:2022-07-27 12:58:32 |
Last Modify:2020-03-17 19:30:04 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:__poll_t ring_buffer_poll_wait(struct ring_buffer *buffer, int cpu, struct file *filp, poll_table *poll_table)
返回类型:__poll_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct ring_buffer * | buffer | |
int | cpu | |
struct file * | filp | |
poll_table * | poll_table |
693 | 如果cpu恒等于RING_BUFFER_ALL_CPUS则work等于irq_work |
695 | 否则 |
703 | poll_wait(filp, & waiters, poll_table) |
704 | waiters_pending = true |
718 | smp_mb() |
723 | 返回:0 |
名称 | 描述 |
---|---|
trace_poll |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |