Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\debug\kdb\kdb_main.c Create Date:2022-07-28 11:40:37
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kdb_curr_task

Proto:struct task_struct *kdb_curr_task(int cpu)

Type:struct task_struct

Parameter:

TypeParameterName
intcpu
192  p = rr_task - return the current task for a given CPU.*@cpu: the processor in question.* ONLY VALID WHEN THE WHOLE SYSTEM IS STOPPED!* Return: The current task for @cpu.
197  Return p
Caller
NameDescribe
kdb_localkdb_local - The main code for kdb
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_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_ps
kdb_bt