函数逻辑报告 |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-27 15:07:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:@vma contains reference counter, not the probed instruction.
函数原型:static int delayed_ref_ctr_inc(struct vm_area_struct *vma)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vm_area_struct * | vma |
1336 | mutex_lock( & delayed_uprobe_lock) |
1340 | 如果mm不等于The address space we belong to. 或非valid_ref_ctr_vma(uprobe, vma)则继续下一循环 |
1344 | vaddr等于offset_to_vaddr(vma, ref_ctr_offset) |
1345 | ret等于__update_ref_ctr(The address space we belong to. , vaddr, 1) |
1346 | 如果ret则 |
1351 | delayed_uprobe_delete(du) |
1354 | 返回:err |
名称 | 描述 |
---|---|
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 插件可实现:逻辑报告 代码生成和批量转换代码 |