Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__set_tracer_option

Proto:static int __set_tracer_option(struct trace_array *tr, struct tracer_flags *tracer_flags, struct tracer_opt *opts, int neg)

Type:int

Parameter:

TypeParameterName
struct trace_array *tr
struct tracer_flags *tracer_flags
struct tracer_opt *opts
intneg
4647  trace = trace
4650  ret = set_flag(tr, val, Mask assigned in val field in tracer_flags , !neg)
4651  If ret Then Return ret
4654  If neg Then val &= ~Mask assigned in val field in tracer_flags
4656  Else val |= Mask assigned in val field in tracer_flags
4658  Return 0
Caller
NameDescribe
set_tracer_optionTry to assign a tracer specific option
trace_options_write