函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_trace_event_init

函数原型:static int perf_trace_event_init(struct trace_event_call *tp_event, struct perf_event *p_event)

返回类型:int

参数:

类型参数名称
struct trace_event_call *tp_event
struct perf_event *p_event
200  ret等于perf_trace_event_perm(tp_event, p_event)
201  如果ret则返回:ret
204  ret等于perf_trace_event_reg(tp_event, p_event)
205  如果ret则返回:ret
208  ret等于perf_trace_event_open(p_event)
209  如果ret
210  perf_trace_event_unreg(p_event)
211  返回:ret
214  返回:0
调用者
名称描述
perf_trace_init