函数逻辑报告 |
Source Code:kernel\gcov\fs.c |
Create Date:2022-07-27 12:35:10 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Create a new node and associated debugfs entry. Needs to be called with* node_lock held.
函数原型:static struct gcov_node *new_node(struct gcov_node *parent, struct gcov_info *info, const char *name)
返回类型:struct gcov_node
参数:
类型 | 参数 | 名称 |
---|---|---|
struct gcov_node * | parent | |
struct gcov_info * | info | |
const char * | name |
437 | 如果info则 |
438 | loaded_info等于分配数组内存并置零 |
440 | 如果非loaded_info则转到:err_nomem |
445 | 如果info则 |
448 | 否则dentry等于debugfs_create_dir(name, dentry) |
450 | 如果info则Create links to additional files (usually .c and .gcno files) which the* gcov tool expects to find in the same directory as the gcov data file. |
452 | 添加链表项 |
453 | 添加链表项 |
455 | 返回:node |
457 | err_nomem : |
459 | 打印警告信息("out of memory\n") |
460 | 返回:NULL |
名称 | 描述 |
---|---|
add_node | Create a node for a given profiling data set and add it to all lists and* debugfs. Needs to be called with node_lock held. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |