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

Name:early_enable_events

Proto:static __init void early_enable_events(struct trace_array *tr, bool disable_first)

Type:void

Parameter:

TypeParameterName
struct trace_array *tr
booldisable_first
3085  buf = bootup_event_buf
3089  When (true) cycle
3090  token = strsep - Split a string into tokens*@s: The string to be searched*@ct: The characters to search for* strsep() updates @s to point after the token, ready for the next call.* It returns empty tokens, too, behaving exactly like the libc function
3092  If Not token Then Break
3095  If token Then
3101  If ret Then pr_warn("Failed to enable trace event: %s\n", token)
3106  If buf Then *(buf - 1) = ','
Caller
NameDescribe
event_trace_enable
event_trace_enable_againvent_trace_enable() is called from trace_event_init() first to* initialize events and perhaps start any events that are on the* command line. Unfortunately, there are some events that will not* start this early, like the system call tracepoints that need