Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:56 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Disable one kprobe: Make sure called under kprobe_mutex is locked
Proto:static struct kprobe *__disable_kprobe(struct kprobe *p)
Type:struct kprobe
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe * | p |
1691 | If Value for the false possibility is greater at compile time(orig_p == NULL) Then Return ERR_PTR( - EINVAL) |
1694 | If Not Is this kprobe disabled ? Then |
1696 | If p != orig_p Then * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. |= probe is temporarily disabled |
1700 | If p == orig_p || Check if all probes on the aggrprobe are disabled Then |
1706 | If Not NOTE: change this value only with kprobe_mutex held Then |
1708 | If ret Then |
1717 | Return orig_p |
Name | Describe |
---|---|
__unregister_kprobe_top | Unregister a kprobe without a scheduler synchronization. |
disable_kprobe | Disable one kprobe |
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 |