Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Try to assign a tracer specific option

Proto:static int set_tracer_option(struct trace_array *tr, char *cmp, int neg)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
char *cmp
intneg
4664  trace = current_trace
4665  tracer_flags = flags
4666  struct tracer_opt * opts = NULL
4669  When Will appear on the trace_options file cycle
4670  opts = opts[i]
4672  If strcmp(cmp, Will appear on the trace_options file ) == 0 Then Return __set_tracer_option(tr, flags, opts, neg)
4676  Return -EINVAL
Caller
NameDescribe
trace_set_options