Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:58 |
| Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Unregister a kprobe without a scheduler synchronization.
Proto:static int __unregister_kprobe_top(struct kprobe *p)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kprobe * | p |
| 1742 | If list_is_singular - tests whether a list has just one entry.*@head: the list to test. && Return true(!0) if the kprobe is disarmed. Note: p must be on hash list Then Go to disarmed |
| 1748 | Else |
| 1750 | If Called after addr is executed, unless... && Not Has this kprobe gone ? Then |
| 1752 | If list_p != p && Called after addr is executed, unless... Then Go to noclean |
| 1755 | Called after addr is executed, unless... = NULL |
| 1757 | noclean : |
| 1763 | If Not Is this kprobe disabled ? && Not NOTE: change this value only with kprobe_mutex held Then Optimize kprobe if p is ready to be optimized |
| 1770 | Return 0 |
| 1772 | disarmed : |
| 1774 | Return 0 |
| Name | Describe |
|---|---|
| unregister_kprobes |
| 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 |