函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__set_tracer_option

函数原型:static int __set_tracer_option(struct trace_array *tr, struct tracer_flags *tracer_flags, struct tracer_opt *opts, int neg)

返回类型:int

参数:

类型参数名称
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  如果ret则返回:ret
4654  如果negval与等于Mask assigned in val field in tracer_flags 的反
4656  否则val或等于Mask assigned in val field in tracer_flags
4658  返回:0
调用者
名称描述
set_tracer_optionTry to assign a tracer specific option
trace_options_write