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

Name:trace_probe_add_file

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

Type:int

Parameter:

TypeParameterName
struct trace_probe *tp
struct trace_event_file *file
1052  link = Allocation memory
1053  If Not link Then Return -ENOMEM
1056  file = file
1057  Initialization list head
1058  list_add_tail_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head
1059  trace_probe_set_flag(tp, Flags for trace_probe )
1060  Return 0
Caller
NameDescribe
probe_event_enable
enable_trace_kprobeEnable trace_probe* if the file is NULL, enable "perf" handler, or enable "trace" handler.