Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:__enable_trace_kprobe

Proto:static inline int __enable_trace_kprobe(struct trace_kprobe *tk)

Type:int

Parameter:

TypeParameterName
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
Caller
NameDescribe
enable_trace_kprobeEnable trace_probe* if the file is NULL, enable "perf" handler, or enable "trace" handler.