函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Create a new event directory structure for a trace directory.

函数原型:static void __trace_add_event_dirs(struct trace_array *tr)

返回类型:void

参数:

类型参数名称
struct trace_array *tr
2494  ret等于Add an event to a trace directory
2495  如果ret小于0则打印警告信息("Could not create directory for event %s\n", trace_event_name(call))
调用者
名称描述
event_trace_add_tracervent_trace_add_tracer - add a instance of a trace_array to events*@parent: The parent dentry to place the files/directories for events in*@tr: The trace array associated with these events* When a new instance is created, it needs to set up its events