Function report |
Source Code:kernel\kprobes.c |
Create Date:2022-07-28 11:35:07 |
Last Modify:2022-05-22 18:14:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Optimize kprobe if p is ready to be optimized
Proto:static void optimize_kprobe(struct kprobe *p)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct kprobe * | p |
638 | If Called after addr is executed, unless... Then Return |
644 | If Check optimized_kprobe can actually be optimized. < 0 Then Return |
649 | If optprobe_queued_unopt(op) Then |
653 | Return |
655 | * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. |= probe is really optimized.* NOTE:* this flag is only for optimized_kprobe. |
658 | If WARN_ON_ONCE(!list_empty - tests whether a list is empty*@head: the list to test.) Then Return |
Name | Describe |
---|---|
reuse_unused_kprobe | Cancel unoptimizing for reusing |
try_to_optimize_kprobe | Prepare an optimized_kprobe and optimize it* NOTE: p must be a normal registered kprobe |
optimize_all_kprobes | |
__arm_kprobe | Put a breakpoint for a probe. Must be called with text_mutex locked |
__disarm_kprobe | Remove the breakpoint of a probe. Must be called with text_mutex locked |
__unregister_kprobe_top | Unregister a kprobe without a scheduler synchronization. |
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 |