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:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_need_aux_wakeup

Proto:static __always_inline bool rb_need_aux_wakeup(struct ring_buffer *rb)

Type:bool

Parameter:

TypeParameterName
struct ring_buffer *rb
454  If aux_overwrite Then Return false
457  If AUX area - last aux_watermark boundary crossed by aux_head >= aux_watermark Then
458  last aux_watermark boundary crossed by aux_head = unddown - round down to next specified multiple*@x: the value to round*@y: multiple to round down to* Rounds @x down to next multiple of @y. If @y will always be a power* of 2, consider using the faster round_down().( AUX area , aux_watermark)
459  Return true
462  Return false
Caller
NameDescribe
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.