Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:For early boot up, the top trace array requires to have* a list of events that can be enabled. This must be done before* the filesystem is set up in order to allow events to be traced* early.

Proto:static __init void __trace_early_add_events(struct trace_array *tr)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
2897  If WARN_ON_ONCE(mod) Then Continue
2900  ret = Just create a decriptor for early init. A descriptor is required* for enabling events at boot. We want to enable events before* the filesystem is initialized.
2901  If ret < 0 Then pr_warn("Could not create early event %s\n", trace_event_name(call))
Caller
NameDescribe
event_trace_enable