function::task_current.3stap man page

function::task_current ā€” The current task_struct of the current task

Synopsis

    task_current:long()

Arguments

None

Description

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.

See Also0

tapset::task(3stap)

Info

October 2017 SystemTap Tapset Reference Context Functions