Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fail_function.c Create Date:2022-07-28 11:36:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fei_attr_new

Proto:static struct fei_attr *fei_attr_new(const char *sym, unsigned long addr)

Type:struct fei_attr

Parameter:

TypeParameterName
const char *sym
unsigned longaddr
60  attr = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
61  If attr Then
62  Allow user to indicate symbol name of the probe point = kstrdup(sym, GFP_KERNEL)
64  kfree(attr)
65  Return NULL
67  Called before addr is executed. = fei_kprobe_handler
68  Called after addr is executed, unless... = fei_post_handler
69  retval = adjust_error_retval(addr, 0)
70  Initialization list head
72  Return attr
Caller
NameDescribe
fei_write