DOKK / manpages / debian 10 / systemtap-doc / function::pid2task.3stap.en
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)

October 2018 SystemTap Tapset Reference