函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rb_need_aux_wakeup

函数原型:static __always_inline bool rb_need_aux_wakeup(struct ring_buffer *rb)

返回类型:bool

参数:

类型参数名称
struct ring_buffer *rb
454  如果aux_overwrite则返回:false
457  如果 AUX area last aux_watermark boundary crossed by aux_head 大于等于aux_watermark
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  返回:true
462  返回:false
调用者
名称描述
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.