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

Name:perf_output_put_handle

Proto:static void perf_output_put_handle(struct perf_output_handle *handle)

Type:void

Parameter:

TypeParameterName
struct perf_output_handle *handle
52  rb = rb
60  nest = READ_ONCE( nested writers )
61  If nest > 1 Then
62  WRITE_ONCE( nested writers , nest - 1)
63  Go to out
66  again :
75  The "volatile" is due to gcc bugs ()
76  head = local_read( & write position )
109  smp_wmb()
110  WRITE_ONCE(head in the data section , head)
117  The "volatile" is due to gcc bugs ()
118  WRITE_ONCE( nested writers , 0)
124  The "volatile" is due to gcc bugs ()
125  If Value for the false possibility is greater at compile time(head != local_read( & write position )) Then
126  WRITE_ONCE( nested writers , 1)
127  Go to again
130  If wakeup != local_read( & wakeup stamp ) Then perf_output_wakeup(handle)
133  out :
134  preempt_enable()
Caller
NameDescribe
__perf_output_begin
perf_output_end