Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Printing of the unreferenced objects information to the seq file. The* print_unreferenced function must be called with the object->lock held.
Proto:static void print_unreferenced(struct seq_file *seq, struct kmemleak_object *object)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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") |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |