DOKK / manpages / debian 11 / systemtap-doc / function::task_pid.3stap.en
FUNCTION::TASK_PID(3stap) Context Functions FUNCTION::TASK_PID(3stap)

function::task_pid - The process identifier of the task


task_pid:long(task:long)

task

task_struct pointer

This fucntion returns the process id of the given task.

tapset::task(3stap)

November 2020 SystemTap Tapset Reference