函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_output_wakeup

函数原型:static void perf_output_wakeup(struct perf_output_handle *handle)

返回类型:void

参数:

类型参数名称
struct perf_output_handle *handle
22  atomic_set( & poll, Epoll event masks )
24  pending_wakeup等于1
25  Enqueue the irq work @work on the current CPU
调用者
名称描述
perf_output_put_handle
perf_aux_output_beginThis is called before hardware starts writing to the AUX area to* obtain an output handle and make sure there's room in the buffer
perf_aux_output_endCommit the data written by hardware into the ring buffer by adjusting* aux_head and posting a PERF_RECORD_AUX into the perf buffer. It is the* pmu driver's responsibility to observe ordering rules of the hardware,
perf_aux_output_skipSkip over a given number of bytes in the AUX buffer, due to, for example,* hardware's alignment constraints.