函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:The debugfs/tracing/printk_formats file maps the addresses with* the ASCII formats that are used in the bprintk events in the* buffer. For userspace tools to be able to decode the events from

函数原型:static const char **find_next_mod_format(int start_index, void *v, const char **fmt, loff_t *pos)

返回类型:char

参数:

类型参数名称
intstart_index
void *v
const char **fmt
loff_t *pos
127  如果链表为空则返回:NULL
136  如果非vstart_index恒等于pos
141  如果start_index恒等于pos则返回:fmt
143  start_index自加
146  返回:NULL
153  mod_fmt等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(v, typeof( * mod_fmt), fmt)
154  如果链表后项恒等于modules trace_printk()'s formats are autosaved in struct trace_bprintk_fmt* which are queued on trace_bprintk_fmt_list.则返回:NULL
157  mod_fmt等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(链表后项, typeof( * mod_fmt), list)
159  返回:fmt
调用者
名称描述
find_next