Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return the path relative to source root

Proto:static inline const char *trim_prefix(const char *path)

Type:char

Parameter:

TypeParameterName
const char *path
73  skip = strlen(__FILE__) - strlen("lib/dynamic_debug.c")
75  If strncmp(path, __FILE__, skip) Then skip = 0
78  Return path + skip
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.