Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:describe_object

Proto:static void describe_object(struct kmem_cache *cache, void *object, const void *addr, u8 tag)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *cache
void *object
const void *addr
u8tag
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)
Caller
NameDescribe
print_address_description