函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Add an event to a trace directory

函数原型:static int __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr)

返回类型:int

参数:

类型参数名称
struct trace_event_call *call
struct trace_array *tr
2302  file等于trace_create_new_event(call, tr)
2303  如果非file则返回:负ENOMEM
2306  返回:event_create_dir(event_dir, file)
调用者
名称描述
__trace_add_event_dirsCreate a new event directory structure for a trace directory.
__add_event_to_tracers