Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:46:33 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:find_active_uprobe
Proto:static struct uprobe *find_active_uprobe(unsigned long bp_vaddr, int *is_swbp)
Type:struct uprobe
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | bp_vaddr | |
| int * | is_swbp |
| 2048 | lock for reading |
| 2050 | If vma && Our start address within vm_mm. <= bp_vaddr Then |
| 2052 | inode = file_inode(File we map to (can be NULL). ) |
| 2053 | offset = vaddr_to_offset(vma, bp_vaddr) |
| 2058 | If Not uprobe Then is_swbp = is_trap_at_addr(mm, bp_vaddr) |
| 2060 | Else |
| 2066 | lease a read lock |
| 2068 | Return uprobe |
| Name | Describe |
|---|---|
| handle_swbp | Run handler and ask thread to singlestep.* Ensure all non-fatal signals cannot interrupt thread while it singlesteps. |
| 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 |