函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kdb_task_state - Return true if a process has the desired state* given by the mask.* Inputs:* p struct task for the process* mask mask from kdb_task_state_string to select processes* Returns:

函数原型:unsigned long kdb_task_state(const struct task_struct *p, unsigned long mask)

返回类型:unsigned long

参数:

类型参数名称
const struct task_struct *p
unsigned longmask
663  char state[] = {kdb_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., '\0'}
664  返回:mask按位与kdb_task_state_string(state)的值不等于0
调用者
名称描述
kdb_ps_suppressedThe user may not realize that ps/bta with no parameters does not print idle* or sleeping system daemon processes, so tell them how many were suppressed.
kdb_ps
kdb_bt1kdb_bt* This function implements the 'bt' command