Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:35:49
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ring_buffer_put

Proto:void ring_buffer_put(struct ring_buffer *rb)

Type:void

Parameter:

TypeParameterName
struct ring_buffer *rb
5640  If Not _dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED Then Return
5643  WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.)
5645  all_rcu() - Queue an RCU callback for invocation after a grace period
Caller
NameDescribe
ring_buffer_attach
perf_mmap_closeA buffer can be mmap()ed multiple times; either directly through the same* event, or through other events by use of perf_event_set_output().* In order to undo the VM accounting done by perf_mmap() we need to destroy
perf_prepare_sample_aux
perf_aux_sample_output
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,