函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return the path relative to source root

函数原型:static inline const char *trim_prefix(const char *path)

返回类型:char

参数:

类型参数名称
const char *path
73  skip等于strlen(__FILE__)减strlen("lib/dynamic_debug.c")
75  如果字符串指定长度比较skip等于0
78  返回:pathskip
调用者
名称描述
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.