Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:45:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_uprobe
Proto:static struct uprobe *alloc_uprobe(struct inode *inode, loff_t offset, loff_t ref_ctr_offset)
Type:struct uprobe
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
loff_t | offset | |
loff_t | ref_ctr_offset |
739 | uprobe = 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). |
740 | If Not uprobe Then Return NULL |
745 | ref_ctr_offset = ref_ctr_offset |
746 | init_rwsem( & register_rwsem) |
747 | init_rwsem( & consumer_rwsem) |
752 | If cur_uprobe Then |
763 | Return uprobe |
Name | Describe |
---|---|
__uprobe_register | __uprobe_register - register a probe*@inode: the file in which the probe has to be placed |
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 |