Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_trace_options_show

Proto:static int tracing_trace_options_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
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  When These must match the bit postions in trace_iterator_flags [i] cycle
4626  If trace_flags & 1 << i Then seq_printf(m, "%s\n", These must match the bit postions in trace_iterator_flags [i])
4628  Else seq_printf(m, "no%s\n", These must match the bit postions in trace_iterator_flags [i])
4632  When Will appear on the trace_options file cycle
4633  If tracer_flags & Mask assigned in val field in tracer_flags Then seq_printf(m, "%s\n", Will appear on the trace_options file )
4635  Else 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  Return 0