Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:44:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_ref_ctr
Proto:static int update_ref_ctr(struct uprobe *uprobe, struct mm_struct *mm, short d)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct uprobe * | uprobe | |
struct mm_struct * | mm | |
short | d |
428 | ret = 0 |
430 | rc_vma = find_ref_ctr_vma(uprobe, mm) |
432 | If rc_vma Then |
433 | rc_vaddr = offset_to_vaddr(rc_vma, ref_ctr_offset) |
434 | ret = __update_ref_ctr(mm, rc_vaddr, d) |
435 | If ret Then update_ref_ctr_warn(uprobe, mm, d) |
442 | mutex_lock( & delayed_uprobe_lock) |
443 | If d > 0 Then ret = delayed_uprobe_add(uprobe, mm) |
445 | Else delayed_uprobe_remove(uprobe, mm) |
449 | Return ret |
Name | Describe |
---|---|
uprobe_write_opcode | NOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture |
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 |