Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:21:59 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Memory scanning is a long process and it needs to be interruptable. This* function checks whether such interrupt condition occurred.
Proto:static int scan_should_stop(void)
Type:int
Parameter:Nothing
| 1208 | If Not set if tracing memory operations is enabled Then Return 1 |
| 1215 | If mm Then Return signal_pending(current process) |
| 1220 | Return 0 |
| Name | Describe |
|---|---|
| scan_block | Scan a memory block (exclusive range) for valid pointers and add those* found to the gray list. |
| scan_gray_list | Scan the objects already referenced (gray objects). More objects will be* referenced and, if there are no memory leaks, all the objects are scanned. |
| 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. |
| 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 |