函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\trace\events\kmem.h Create Date:2022-07-27 15:53:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:trace_kmalloc

函数原型:static inline void trace_kmalloc(unsigned long call_site, const void *ptr, size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags)

返回类型:void

参数:

类型参数名称
unsigned longcall_site
const void *ptr
size_tbytes_req
size_tbytes_alloc
gfp_tgfp_flags

NULL

调用者
名称描述
__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