function::task_current.3stap - Man Page

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

November 2023 SystemTap Tapset Reference Context Functions