Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:42
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:task_index_to_char

Proto:static inline char task_index_to_char(unsigned int state)

Type:char

Parameter:

TypeParameterName
unsigned intstate
1431  state_char[] = "RSDTtXZPI"
1433  BUILD_BUG_ON - break compile if a condition is true(1 + log2 - log base 2 of 32-bit or a 64-bit unsigned value*@n: parameter* constant-capable log of base 2 calculation* - this can be used to initialise global variables from constant data, hence* the massive ternary operator construction* selects the (TASK_REPORT_MAX) != size of state_char - 1)
1435  Return state_char[state]
Caller
NameDescribe
trace_ctxwake_printTRACE_CTX an TRACE_WAKE
trace_ctxwake_raw
trace_ctxwake_hex