Function report |
Source Code:kernel\trace\trace_kprobe.c |
Create Date:2022-07-28 12:39:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__enable_trace_kprobe
Proto:static inline int __enable_trace_kprobe(struct trace_kprobe *tk)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct trace_kprobe * | tk |
319 | ret = 0 |
321 | If trace_kprobe_is_registered(tk) && Not trace_kprobe_has_gone(tk) Then |
322 | If trace_kprobe_is_return(tk) Then ret = enable_kretprobe( & Use rp.kp for kprobe use ) |
324 | Else ret = Enable one kprobe |
328 | Return ret |
Name | Describe |
---|---|
enable_trace_kprobe | Enable trace_probe* if the file is NULL, enable "perf" handler, or enable "trace" handler. |
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 |