函数逻辑报告 |
Source Code:mm\kmemleak-test.c |
Create Date:2022-07-27 17:57:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Some very simple testing. This function needs to be extended for* proper testing.
函数原型:static int __init kmemleak_test_init(void)
返回类型:int
参数:无
40 | 打印信息("Kmemleak testing\n") |
43 | 打印信息("kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)) |
44 | 打印信息("kmalloc(32) = %p\n", kmalloc(32, GFP_KERNEL)) |
45 | 打印信息("kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)) |
46 | 打印信息("kmalloc(1024) = %p\n", kmalloc(1024, GFP_KERNEL)) |
47 | 打印信息("kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)) |
48 | 打印信息("kmalloc(2048) = %p\n", kmalloc(2048, GFP_KERNEL)) |
49 | 打印信息("kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)) |
50 | 打印信息("kmalloc(4096) = %p\n", kmalloc(4096, GFP_KERNEL)) |
77 | per_cpu(kmemleak_test_pointer, i)等于kmalloc(129, GFP_KERNEL) |
78 | 打印信息("kmalloc(129) = %p\n", per_cpu(kmemleak_test_pointer, i)) |
82 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |