Provided by: systemtap-doc_4.2-3ubuntu0.1_all 

NAME
function::pid2task - The task_struct of the given process identifier
SYNOPSIS
pid2task:long(pid:long)
ARGUMENTS
pid
process identifier
DESCRIPTION
Return the task struct of the given process id.
SEE ALSO
tapset::task(3stap)
SystemTap Tapset Reference November 2019 FUNCTION::PID2TASK(3stap)