1FUNCTION::TASK_STATE(3stap) Context Functions FUNCTION::TASK_STATE(3stap)
23
4
NAME
6function::task_state - The state of the task
7
SYNOPSIS
9task_state:long(task:long)
10
ARGUMENTS
12task
13task_struct pointer
14
DESCRIPTION
16Return the state of the given task, one of: TASK_RUNNING (0),
17TASK_INTERRUPTIBLE (1), TASK_UNINTERRUPTIBLE (2), TASK_STOPPED (4),
18TASK_TRACED (8), EXIT_ZOMBIE (16), or EXIT_DEAD (32).
19
SEE ALSO
21tapset::task(3stap)
2223
24
25
SystemTap Tapset Reference May 2021 FUNCTION::TASK_STATE(3stap)