Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:36:08 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Enable one kprobe
Proto:int enable_kprobe(struct kprobe *kp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe * | kp |
2104 | ret = 0 |
2111 | If Value for the false possibility is greater at compile time(p == NULL) Then |
2116 | If Has this kprobe gone ? Then |
2122 | If p != kp Then * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. &= ~probe is temporarily disabled |
2125 | If Not NOTE: change this value only with kprobe_mutex held && Is this kprobe disabled ? Then |
2126 | * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. &= ~probe is temporarily disabled |
2127 | ret = Arm a kprobe with text_mutex |
2131 | out : |
2133 | Return ret |
Name | Describe |
---|---|
__enable_trace_kprobe | |
enable_kretprobe |
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 |