Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_record_taskinfo_skip

Proto:static bool tracing_record_taskinfo_skip(int flags)

Type:bool

Parameter:

TypeParameterName
intflags
2331  If Value for the false possibility is greater at compile time(!(flags & (TRACE_RECORD_CMDLINE | TRACE_RECORD_TGID))) Then Return true
2333  If atomic_read( & mporary disable recording ) || Not racing_is_on - show state of ring buffers enabled Then Return true
2335  If Not Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(To prevent the comm cache from being overwritten when no* tracing is active, only save the comm when a trace event* occurred.) Then Return true
2337  Return false
Caller
NameDescribe
tracing_record_taskinforacing_record_taskinfo - record the task info of a task*@task: task to record*@flags: TRACE_RECORD_CMDLINE for recording comm* TRACE_RECORD_TGID for recording tgid
tracing_record_taskinfo_sched_switchracing_record_taskinfo_sched_switch - record task info for sched_switch*@prev: previous task during sched_switch*@next: next task during sched_switch*@flags: TRACE_RECORD_CMDLINE for recording comm* TRACE_RECORD_TGID for recording tgid