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

function::task_tid - The thread identifier of the task


task_tid:long(task:long)

task

task_struct pointer

This function returns the thread id of the given task.

tapset::task(3stap)

November 2020 SystemTap Tapset Reference