Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The global tracer (top) should be the first trace array added,* but we check the flag anyway.

Proto:static inline struct trace_array *top_trace_array(void)

Type:struct trace_array

Parameter:Nothing

363  If list_empty - tests whether a list is empty*@head: the list to test. Then Return NULL
366  tr = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(prev, typeof( * tr), list)
368  WARN_ON(!(flags & TRACE_ARRAY_FL_GLOBAL))
369  Return tr
Caller
NameDescribe
trace_set_clr_eventrace_set_clr_event - enable or disable an event*@system: system name to match (NULL for any system)*@event: event name to match (NULL for all events, within system)*@set: 1 to enable, 0 to disable* This is a way for other parts of the kernel to enable or
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
event_trace_init
enable_boot_kprobe_events