函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:07:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:For a given range in vma, build a list of probes that need to be inserted.
函数原型:static void build_probe_list(struct inode *inode, struct vm_area_struct *vma, unsigned long start, unsigned long end, struct list_head *head)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct inode * | inode | |
struct vm_area_struct * | vma | |
unsigned long | start | |
unsigned long | end | |
struct list_head * | head |
1303 | 初始化链表头 |
1304 | min等于vaddr_to_offset(vma, start) |
1307 | 加自旋锁 |
1308 | n等于find_node_in_range(inode, min, max) |
1309 | 如果n则 |
1325 | 自旋锁解锁 |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |