OS Manuals

function::pid2task(3stap)

function::pid2task - The task_struct of the given process identifier

FUNCTION::PID2TASK(3stap) Context Functions FUNCTION::PID2TASK(3stap)

function::pid2task - The task_struct of the given process identifier


pid2task:long(pid:long)

pid

process identifier

Return the task struct of the given process id.

tapset::task(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r0 · enterprise-packages · ingested 2026-10-02