Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:45:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:For a given range in vma, build a list of probes that need to be inserted.
Proto:static void build_probe_list(struct inode *inode, struct vm_area_struct *vma, unsigned long start, unsigned long end, struct list_head *head)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | inode | |
struct vm_area_struct * | vma | |
unsigned long | start | |
unsigned long | end | |
struct list_head * | head |
1304 | min = vaddr_to_offset(vma, start) |
1307 | spin_lock( & uprobes_treelock) |
1308 | n = find_node_in_range(inode, min, max) |
1309 | If n Then |
1312 | If Also hold a ref to inode != inode || offset < min Then Break |
1315 | get_uprobe(u) |
1319 | If Also hold a ref to inode != inode || offset > max Then Break |
1322 | get_uprobe(u) |
1325 | spin_unlock( & uprobes_treelock) |
Name | Describe |
---|---|
uprobe_mmap | Called from mmap_region/vma_adjust with mm->mmap_sem acquired.* Currently we ignore all errors and always return 0, the callers* can't handle the failure anyway. |
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 |