Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:45:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:@vma contains reference counter, not the probed instruction.
Proto:static int delayed_ref_ctr_inc(struct vm_area_struct *vma)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct vm_area_struct * | vma |
1336 | mutex_lock( & delayed_uprobe_lock) |
1340 | If mm != The address space we belong to. || Not valid_ref_ctr_vma(uprobe, vma) Then Continue |
1344 | vaddr = offset_to_vaddr(vma, ref_ctr_offset) |
1345 | ret = __update_ref_ctr(The address space we belong to. , vaddr, 1) |
1346 | If ret Then |
1351 | delayed_uprobe_delete(du) |
1354 | Return err |
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 |