Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-28 12:01:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Must be called with iter->mutex held.

Proto:static int tracing_wait_pipe(struct file *filp)

Type:int

Parameter:

TypeParameterName
struct file *filp
6059  iter = needed for tty driver, and maybe others
6062  When trace_empty(iter) cycle
6064  If f_flags & O_NONBLOCK Then
6065  Return -EAGAIN
6077  If Not racer_tracing_is_on - show real state of ring buffer enabled*@tr : the trace array to know if ring buffer is enabled* Shows real state of the ring buffer if it is enabled or not. && pos Then Break
6080  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.
6082  ret = wait_on_pipe(iter, 0)
6084  mutex_lock( & mutex)
6086  If ret Then Return ret
6090  Return 1
Caller
NameDescribe
tracing_read_pipeConsumer reader.
tracing_splice_read_pipe