函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_kprobe.c Create Date:2022-07-27 13:49:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__disable_trace_kprobe

函数原型:static void __disable_trace_kprobe(struct trace_probe *tp)

返回类型:void

参数:

类型参数名称
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  如果非trace_kprobe_is_registered(tk)则继续下一循环
340  如果trace_kprobe_is_return(tk)则disable_kretprobe( & Use rp.kp for kprobe use )
342  否则Disable one kprobe
调用者
名称描述
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.