函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_record_taskinfo_skip

函数原型:static bool tracing_record_taskinfo_skip(int flags)

返回类型:bool

参数:

类型参数名称
intflags
2331  如果此条件成立可能性小(为编译器优化)(!(flags & (TRACE_RECORD_CMDLINE | TRACE_RECORD_TGID)))则返回:true
2333  如果atomic_read( & mporary disable recording )或非racing_is_on - show state of ring buffers enabled则返回:true
2335  如果非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.)则返回:true
2337  返回:false
调用者
名称描述
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