函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-27 13:08:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_fill_pipe_page

函数原型:static size_t tracing_fill_pipe_page(size_t rem, struct trace_iterator *iter)

返回类型:size_t

参数:

类型参数名称
size_trem
struct trace_iterator *iter
6213  循环
6214  save_len等于len
6215  ret等于Called with trace_event_read_lock() held.
6217  如果跟踪泛滥
6218  len等于save_len
6219  退出
6227  如果ret恒等于 Retry after flushing the seq
6228  len等于save_len
6229  退出
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 amountsave_len
6233  如果rem小于count
6234  rem等于0
6235  len等于save_len
6236  退出
6239  如果ret不等于TRACE_TYPE_NO_CONSUMEtrace_consume(iter)
6241  rem减等于count
6243  rem等于0
6244  ent = NULL
6245  退出
6249  返回:rem
调用者
名称描述
tracing_splice_read_pipe