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

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.

SystemTap Tapset Reference April 2011 FUNCTION::PID2TASK(3stap)