函数逻辑报告 |
Source Code:mm\kmemleak.c |
Create Date:2022-07-27 17:55:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Printing of the unreferenced objects information to the seq file. The* print_unreferenced function must be called with the object->lock held.
函数原型:static void print_unreferenced(struct seq_file *seq, struct kmemleak_object *object)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct seq_file * | seq | |
struct kmemleak_object * | object |
338 | msecs_age等于Convert jiffies to milliseconds and back.* Avoid unnecessary multiplications/divisions in the* two most common HZ cases: |
340 | warn_or_seq_printf(seq, "unreferenced object 0x%08lx (size %zu):\n", pointer, size) |
342 | warn_or_seq_printf(seq, " comm \"%s\", pid %d, jiffies %lu (age %d.%03ds)\n", xecutable name , pid of the current task , creation timestamp , msecs_age / 1000, msecs_age % 1000) |
346 | warn_or_seq_printf(seq, " backtrace:\n") |
名称 | 描述 |
---|---|
kmemleak_scan | Scan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held. |
kmemleak_seq_show | Print the information for an unreferenced object to the seq file. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |