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:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Add an event to a trace directory

Proto:static int __trace_add_new_event(struct trace_event_call *call, struct trace_array *tr)

Type:int

Parameter:

TypeParameterName
struct trace_event_call *call
struct trace_array *tr
2302  file = trace_create_new_event(call, tr)
2303  If Not file Then Return -ENOMEM
2306  Return event_create_dir(event_dir, file)
Caller
NameDescribe
__trace_add_event_dirsCreate a new event directory structure for a trace directory.
__add_event_to_tracers