Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kdb.h Create Date:2022-07-28 09:18:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kdb_process_cpu

Proto:static inline int kdb_process_cpu(const struct task_struct *p)

Type:int

Parameter:

TypeParameterName
const struct task_struct *p
180  cpu = task_cpu(p)
181  If cpu > num_possible_cpus() Then cpu = 0
183  Return cpu
Caller
NameDescribe
kdb_set_current_task
kdb_ps1kdb_ps - This function implements the 'ps' command which shows a* list of the active processes.* ps [DRSTCZEUIMA] All processes, optionally filtered by state
kdb_task_state_charkdb_task_state_char - Return the character that represents the task state.* Inputs:* p struct task for the process* Returns:* One character to represent the task state.
kdb_show_stack