函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events.c Create Date:2022-07-27 13:28:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:event_trace_enable

函数原型:static __init int event_trace_enable(void)

返回类型:int

参数:

3113  tr等于The global tracer (top) should be the first trace array added,* but we check the flag anyway.
3117  如果非tr则返回:负ENODEV
3122  call等于iter
3123  ret等于event_init(call)
3124  如果非ret添加链表项
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  返回:0
调用者
名称描述
trace_event_init