函数逻辑报告 |
Source Code:lib\dynamic_debug.c |
Create Date:2022-07-27 08:14:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Search 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.
函数原型:static int ddebug_change(const struct ddebug_query *query, unsigned int flags, unsigned int mask)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const struct ddebug_query * | query | |
| unsigned int | flags | |
| unsigned int | mask |
| 146 | nfound等于0 |
| 150 | mutex_lock( & ddebug_lock) |
| 158 | 以i小于num_ddebugs循环 |
| 181 | 如果first_lineno且lineno小于first_lineno则继续下一循环 |
| 184 | 如果last_lineno且lineno大于last_lineno则继续下一循环 |
| 188 | nfound自加 |
| 201 | vpr_info("changed %s:%d [%s]%s =%s\n", Return the path relative to source root , lineno, mod_name, function, rmat a string into buf[] which describes the _ddebug's flags ) |
| 208 | mutex_unlock( & ddebug_lock) |
| 213 | 返回:nfound |
| 名称 | 描述 |
|---|---|
| ddebug_exec_query |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |