函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kdb.h Create Date:2022-07-27 10:18:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kdb_process_cpu

函数原型:static inline int kdb_process_cpu(const struct task_struct *p)

返回类型:int

参数:

类型参数名称
const struct task_struct *p
180  cpu等于task_cpu(p)
181  如果cpu大于num_possible_cpus()则cpu等于0
183  返回:cpu
调用者
名称描述
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