Function report |
Source Code:mm\kasan\report.c |
Create Date:2022-07-28 15:52:41 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:describe_object
Proto:static void describe_object(struct kmem_cache *cache, void *object, const void *addr, u8 tag)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kmem_cache * | cache | |
| void * | object | |
| const void * | addr | |
| u8 | tag |
| 177 | alloc_info = get_alloc_info(cache, object) |
| 179 | If Used for retrieving partial slabs, etc. & SLAB_KASAN Then |
| 182 | print_track( & alloc_track, "Allocated") |
| 183 | pr_err("\n") |
| 184 | free_track = kasan_get_free_track(cache, object, tag) |
| 185 | print_track(free_track, "Freed") |
| 186 | pr_err("\n") |
| 189 | describe_object_addr(cache, object, addr) |
| Name | Describe |
|---|---|
| print_address_description |
| 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 |