| Function report | 
| Source Code: kernel\events\uprobes.c | Create Date:2022-07-28 13:44:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:vaddr_to_offset
Proto:static loff_t vaddr_to_offset(struct vm_area_struct *vma, unsigned long vaddr)
Type:loff_t
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct vm_area_struct * | vma | |
| unsigned long | vaddr | 
| 138 | Return (Offset (within vm_file) in PAGE_SIZEunits << PAGE_SHIFT determines the page size ) + vaddr - Our start address within vm_mm. | 
| Name | Describe | 
|---|---|
| uprobe_write_opcode | NOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture | 
| register_for_each_vma | |
| build_probe_list | For a given range in vma, build a list of probes that need to be inserted. | 
| vma_has_uprobes | |
| find_active_uprobe | 
| 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 |