Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_event_perf.c Create Date:2022-07-28 12:23:21
Last Modify:2020-03-17 20:20:33 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_trace_event_init

Proto:static int perf_trace_event_init(struct trace_event_call *tp_event, struct perf_event *p_event)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *tp_event
struct perf_event *p_event
200  ret = perf_trace_event_perm(tp_event, p_event)
201  If ret Then Return ret
204  ret = perf_trace_event_reg(tp_event, p_event)
205  If ret Then Return ret
208  ret = perf_trace_event_open(p_event)
209  If ret Then
210  perf_trace_event_unreg(p_event)
211  Return ret
214  Return 0
Caller
NameDescribe
perf_trace_init