函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_raw_fmt

函数原型:static enum print_line_t print_raw_fmt(struct trace_iterator *iter)

返回类型:enum print_line_t

参数:

类型参数名称
struct trace_iterator *iter
3846  tr等于tr
3847  s等于 The below is zeroed out in pipe_read
3851  entry等于ent
3853  如果trace_flags按位与TRACE_ITER_CONTEXT_INFOCurrently only defined when tracing is enabled.
3857  如果跟踪泛滥则返回: Retry after flushing the seq
3860  event等于ftrace_find_event(type)
3861  如果event则返回:raw(iter, 0, event)
3864  Currently only defined when tracing is enabled.
3866  返回:Several functions return TRACE_TYPE_PARTIAL_LINE if the trace_seq* overflowed, and TRACE_TYPE_HANDLED otherwise. This helper function* simplifies those functions and keeps them in sync.
调用者
名称描述
print_trace_lineCalled with trace_event_read_lock() held.