Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_fill_pipe_page

Proto:static size_t tracing_fill_pipe_page(size_t rem, struct trace_iterator *iter)

Type:size_t

Parameter:

TypeParameterName
size_trem
struct trace_iterator *iter
6213  cycle
6214  save_len = len
6215  ret = Called with trace_event_read_lock() held.
6218  len = save_len
6219  Break
6228  len = save_len
6229  Break
6232  count = race_seq_used - amount of actual data written to buffer*@s: trace sequence descriptor* Returns the amount of data written to the buffer.* IMPORTANT!* Use this instead of @s->seq.len if you need to pass the amount - save_len
6233  If rem < count Then
6234  rem = 0
6235  len = save_len
6236  Break
6239  If ret != TRACE_TYPE_NO_CONSUME Then trace_consume(iter)
6241  rem -= count
6243  rem = 0
6244  ent = NULL
6245  Break
6249  Return rem
Caller
NameDescribe
tracing_splice_read_pipe