Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-28 12:20:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Create a new event directory structure for a trace directory.

Proto:static void __trace_add_event_dirs(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
2494  ret = Add an event to a trace directory
2495  If ret < 0 Then pr_warn("Could not create directory for event %s\n", trace_event_name(call))
Caller
NameDescribe
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