Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\kmem.h Create Date:2022-07-28 14:28:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_kmalloc

Proto:static inline void trace_kmalloc(unsigned long call_site, const void *ptr, size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags)

Type:void

Parameter:

TypeParameterName
unsigned longcall_site
const void *ptr
size_tbytes_req
size_tbytes_alloc
gfp_tgfp_flags

NULL

Caller
NameDescribe
__do_kmalloc__do_kmalloc - allocate memory*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@caller: function caller for debug tracking of the caller* Return: pointer to the allocated memory or %NULL in case of error
__kmalloc
__kmalloc_track_caller