Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rmat a string into buf[] which describes the _ddebug's flags

Proto:static char *ddebug_describe_flags(struct _ddebug *dp, char *buf, size_t maxlen)

Type:char

Parameter:

TypeParameterName
struct _ddebug *dp
char *buf
size_tmaxlen
94  p = buf
97  BUG_ON(maxlen < 6)
98  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(opt_array) cycle If flags & flag Then
100  p++ = opt_char
101  If p == buf Then p++ = '_'
103  p = '\0'
105  Return buf
Caller
NameDescribe
ddebug_changeSearch the tables for _ddebug's which match the given `query' and* apply the `flags' and `mask' to them. Returns number of matching* callsites, normally the same as number of changes. If verbose,* logs the changes. Takes ddebug_lock.
ddebug_proc_showSeq_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.