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

Name:event_trace_enable

Proto:static __init int event_trace_enable(void)

Type:int

Parameter:Nothing

3113  tr = The global tracer (top) should be the first trace array added,* but we check the flag anyway.
3117  If Not tr Then Return -ENODEV
3122  call = iter
3123  ret = event_init(call)
3124  If Not ret Then list_add - add a new entry*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head.* This is good for implementing stacks.
3134  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.
3136  early_enable_events(tr, false)
3138  trace_printk_start_comm()
3140  register_event_cmds()
3142  register_trigger_cmds()
3144  Return 0
Caller
NameDescribe
trace_event_init