DOKK / manpages / debian 10 / systemtap-doc / function::task_current.3stap.en
FUNCTION::TASK_CURRE(3stap) Context Functions FUNCTION::TASK_CURRE(3stap)

function::task_current - The current task_struct of the current task


task_current:long()

None

This function returns the task_struct representing the current process. This address can be passed to the various task_*() functions to extract more task-specific data.

tapset::task(3stap)

October 2018 SystemTap Tapset Reference