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

Name:We need to ensure a later event_id doesn't publish a head when a former* event isn't done writing. However since we need to deal with NMIs we* cannot fully serialize things.* We only publish the head (and generate a wakeup) when the outer-most

Proto:static void perf_output_get_handle(struct perf_output_handle *handle)

Type:void

Parameter:

TypeParameterName
struct perf_output_handle *handle
38  rb = rb
40  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
46  ( * (volatile unsigned int * ) & nested writers )++
47  wakeup = local_read( & wakeup stamp )
Caller
NameDescribe
__perf_output_begin