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:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__disable_trace_kprobe

Proto:static void __disable_trace_kprobe(struct trace_probe *tp)

Type:void

Parameter:

TypeParameterName
struct trace_probe *tp
337  tk = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(pos, structtrace_kprobe, tp)
338  If Not trace_kprobe_is_registered(tk) Then Continue
340  If trace_kprobe_is_return(tk) Then disable_kretprobe( & Use rp.kp for kprobe use )
342  Else Disable one kprobe
Caller
NameDescribe
enable_trace_kprobeEnable trace_probe* if the file is NULL, enable "perf" handler, or enable "trace" handler.
disable_trace_kprobeDisable trace_probe* if the file is NULL, disable "perf" handler, or disable "trace" handler.