Function report |
Source Code:kernel\trace\trace_kprobe.c |
Create Date:2022-07-28 12:39:18 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:append_trace_kprobe
Proto:static int append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_kprobe * | tk | |
struct trace_kprobe * | to |
592 | ret = trace_probe_compare_arg_type( & tp, & tp) |
593 | If ret Then |
599 | If trace_kprobe_has_same_kprobe(to, tk) Then |
606 | ret = trace_probe_append( & tp, & tp) |
612 | If ret == -ENOENT && Not trace_kprobe_module_exist(tk) Then |
613 | pr_warn("This probe might be able to register after target module is loaded. Continue.\n") |
614 | ret = 0 |
617 | If ret Then trace_probe_unlink( & tp) |
619 | Else dyn_event_add( & devent) |
622 | Return ret |
Name | Describe |
---|---|
register_trace_kprobe | Register a trace_probe and probe_event |
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 |