函数逻辑报告 |
Source Code:kernel\locking\lockdep.c |
Create Date:2022-07-27 10:50:56 |
Last Modify:2020-03-17 14:16:01 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:初始化lockdep哈希表
函数原型:void __init lockdep_init(void)
返回类型:void
参数:无
5204 | printk("Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar\n") |
5206 | printk("... MAX_LOCKDEP_SUBCLASSES: %lu\n", MAX_LOCKDEP_SUBCLASSES) |
5207 | printk("... MAX_LOCK_DEPTH: %lu\n", MAX_LOCK_DEPTH) |
5208 | printk("... MAX_LOCKDEP_KEYS: %lu\n", MAX_LOCKDEP_KEYS) |
5209 | printk("... CLASSHASH_SIZE: %lu\n", CLASSHASH_SIZE) |
5210 | printk("... MAX_LOCKDEP_ENTRIES: %lu\n", MAX_LOCKDEP_ENTRIES) |
5211 | printk("... MAX_LOCKDEP_CHAINS: %lu\n", MAX_LOCKDEP_CHAINS) |
5212 | printk("... CHAINHASH_SIZE: %lu\n", CHAINHASH_SIZE) |
5214 | printk(" memory used by lock dependency info: %zu kB\n", (lock_classes的长度 + lock_classes_in_use的长度 + class哈希表的长度 + list_entries的长度 + list_entries_in_use的长度 + chain哈希表的长度 + struct delayed_free - data structures used for delayed freeing* A data structure for delayed freeing of data structures that may be* accessed by RCU readers at the time these were freed.的长度) / 1024) |
5237 | printk(" per task-struct memory footprint: %zu bytes\n", held_locks的长度) |
名称 | 描述 |
---|---|
start_kernel | 启动内核 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |