Function report |
Source Code:mm\kmemleak.c |
Create Date:2022-07-28 16:22:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Thread function performing automatic memory scanning. Unreferenced objects* at the end of a memory scan are reported but only the first time.
Proto:static int kmemleak_scan_thread(void *arg)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| void * | arg |
| 1551 | first_run = IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_DEBUG_KMEMLEAK_AUTO_SCAN) |
| 1553 | pr_info("Automatic memory scanning thread started\n") |
| 1554 | set_user_nice(current process, 10) |
| 1559 | If first_run Then |
| 1561 | first_run = 0 |
| 1578 | pr_info("Automatic memory scanning thread ended\n") |
| 1580 | Return 0 |
| 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 |