Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\ring_buffer.c Create Date:2022-07-28 11:53:59
Last Modify:2020-03-17 19:30:04 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ring_buffer_change_overwrite

Proto:void ring_buffer_change_overwrite(struct ring_buffer *buffer, int val)

Type:void

Parameter:

TypeParameterName
struct ring_buffer *buffer
intval
1896  mutex_lock( & mutex)
1897  If val Then flags |= RB_FL_OVERWRITE
1899  Else flags &= ~RB_FL_OVERWRITE
1901  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
set_tracer_flag