DOKK / manpages / debian 12 / systemtap-doc / function::task_state.3stap.en
FUNCTION::TASK_STATE(3stap) Context Functions FUNCTION::TASK_STATE(3stap)

function::task_state - The state of the task


task_state:long(task:long)

task

task_struct pointer

Return the state of the given task, one of: TASK_RUNNING (0), TASK_INTERRUPTIBLE (1), TASK_UNINTERRUPTIBLE (2), TASK_STOPPED (4), TASK_TRACED (8), EXIT_ZOMBIE (16), or EXIT_DEAD (32).

tapset::task(3stap)

November 2022 SystemTap Tapset Reference