函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Seq_ops show method. Called several times within a read()* call from userspace, with ddebug_lock held. Formats the* current _ddebug as a single human-readable line, with a* special case for the header line.

函数原型:static int ddebug_proc_show(struct seq_file *m, void *p)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *p
817  iter等于private
818  dp等于p
821  vpr_info("called m=%p p=%p\n", m, p)
823  如果p恒等于SEQ_START_TOKEN
824  seq_puts(m, "# filename:lineno [module]function flags format\n")
826  返回:0
829  seq_printf(m, "%s:%u [%s]%s =%s \"", Return the path relative to source root , lineno, mod_name, function, rmat a string into buf[] which describes the _ddebug's flags )
833  seq_escape - print string into buffer, escaping some characters*@m: target buffer*@s: string*@esc: set of characters that need escaping* Puts string into buffer, replacing each occurrence of character from*@esc with usual octal escape.
834  seq_puts(m, "\"\n")
836  返回:0