DOKK / manpages / debian 10 / 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)

October 2018 SystemTap Tapset Reference