函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_trace_options_show

函数原型:static int tracing_trace_options_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
4617  tr等于private
4621  mutex_lock( & race_types_lock is used to protect the trace_types list.)
4622  tracer_flags等于val
4623  trace_opts等于opts
4625 These must match the bit postions in trace_iterator_flags [i]循环
4626  如果trace_flags按位与1左移i位则seq_printf(m, "%s\n", These must match the bit postions in trace_iterator_flags [i])
4628  否则seq_printf(m, "no%s\n", These must match the bit postions in trace_iterator_flags [i])
4632 Will appear on the trace_options file 循环
4633  如果tracer_flags按位与Mask assigned in val field in tracer_flags seq_printf(m, "%s\n", Will appear on the trace_options file )
4635  否则seq_printf(m, "no%s\n", Will appear on the trace_options file )
4638  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
4640  返回:0