Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_output_wakeup

Proto:static void perf_output_wakeup(struct perf_output_handle *handle)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
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.