函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_probe_remove_file

函数原型:int trace_probe_remove_file(struct trace_probe *tp, struct trace_event_file *file)

返回类型:int

参数:

类型参数名称
struct trace_probe *tp
struct trace_event_file *file
1081  link等于trace_probe_get_file_link(tp, file)
1082  如果非link则返回:负ENOENT
1085  删除不需要重新初始化的列表项
1086  Wait for a grace period to elapse. But it is illegal to invoke* synchronize_rcu() from within an RCU read-side critical section.* Therefore, any legal call to synchronize_rcu() is a quiescent
1087  kfree(link)
1089  如果链表为空trace_probe_clear_flag(tp, Flags for trace_probe )
1092  返回:0
调用者
名称描述
disable_trace_kprobeDisable trace_probe* if the file is NULL, disable "perf" handler, or disable "trace" handler.
probe_event_enable
probe_event_disable
enable_trace_kprobeEnable trace_probe* if the file is NULL, enable "perf" handler, or enable "trace" handler.