Function report | 
Source Code:lib\debugobjects.c | 
Create Date:2022-07-28 06:55:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Called after the kmem_caches are functional to setup a dedicated* cache pool, which has the SLAB_DEBUG_OBJECTS flag set. This flag* prevents that the debug code is called on kmem_cache_free() for the* debug tracker objects to avoid recursive calls.
Proto:void __init debug_objects_mem_init(void)
Type:void
Parameter:Nothing
| 1357 | If Not debug_objects_enabled Then Return | 
| 1366 | for_each_possible_cpu(cpu) | 
| 1367 | INIT_HLIST_HEAD( & per_cpu(free_objs, cpu)) | 
| 1369 | obj_cache = kmem_cache_create("debug_objects_cache", sizeof(structdebug_obj), 0, SLAB_DEBUG_OBJECTS | Avoid kmemleak tracing , NULL) | 
| 1374 | If Not obj_cache || Convert the statically allocated objects to dynamic ones: Then | 
| 1378 | Else debug_objects_selftest() | 
| 1385 | extras = num_possible_cpus() * ODEBUG_BATCH_SIZE | 
| 1386 | debug_objects_pool_size += extras | 
| 1387 | debug_objects_pool_min_level += extras | 
| 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  |