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 June 2010 FUNCTION::PID2TASK(3stap)