Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Some tracers are not suitable for instance buffers.* A tracer is always available for the global array (toplevel)* or if it explicitly states that it is.

Proto:static bool trace_ok_for_array(struct tracer *t, struct trace_array *tr)

Type:bool

Parameter:

TypeParameterName
struct tracer *t
struct trace_array *tr
4397  Return flags & TRACE_ARRAY_FL_GLOBAL || allow_instances
Caller
NameDescribe
get_tracer_for_arrayFind the next tracer that this trace array may use
tracing_set_tracer
create_trace_option_files