Function report |
Source Code:kernel\events\uprobes.c |
Create Date:2022-07-28 13:46:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:handler_chain
Proto:static void handler_chain(struct uprobe *uprobe, struct pt_regs *regs)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct uprobe * | uprobe | |
| struct pt_regs * | regs |
| 2074 | remove = UPROBE_HANDLER_REMOVE |
| 2075 | bool need_prep = false |
| 2077 | lock for reading |
| 2079 | rc = 0 |
| 2081 | If handler Then |
| 2083 | WARN(rc & ~UPROBE_HANDLER_MASK, "bad rc=0x%x from %ps()\n", rc, handler) |
| 2087 | If ret_handler Then need_prep = true |
| 2093 | If need_prep && Not remove Then prepare_uretprobe(uprobe, regs) |
| 2097 | WARN_ON(!uprobe_is_active(uprobe)) |
| 2098 | unapply_uprobe(uprobe, mm) |
| 2100 | lease a read lock |
| 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 |