Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_probe.c Create Date:2022-07-28 12:43:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:trace_probe_remove_file

Proto:int trace_probe_remove_file(struct trace_probe *tp, struct trace_event_file *file)

Type:int

Parameter:

TypeParameterName
struct trace_probe *tp
struct trace_event_file *file
1081  link = trace_probe_get_file_link(tp, file)
1082  If Not link Then Return -ENOENT
1085  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
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  If list_empty - tests whether a list is empty*@head: the list to test. Then trace_probe_clear_flag(tp, Flags for trace_probe )
1092  Return 0
Caller
NameDescribe
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.