Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static int ddebug_proc_show(struct seq_file *m, void *p)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *p
817  iter = private
818  dp = p
821  vpr_info("called m=%p p=%p\n", m, p)
823  If p == SEQ_START_TOKEN Then
824  seq_puts(m, "# filename:lineno [module]function flags format\n")
826  Return 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  Return 0