1FUNCTION::TASK_CURRE(3stap) Context Functions FUNCTION::TASK_CURRE(3stap)
23
4
NAME
6function::task_current - The current task_struct of the current task
7
SYNOPSIS
9task_current:long()
10
ARGUMENTS
12None
13
DESCRIPTION
15This function returns the task_struct representing the current process.
16This address can be passed to the various task_*() functions to extract
17more task-specific data.
18
SEE ALSO
20tapset::task(3stap)
2122
23
24
SystemTap Tapset Reference April 2023 FUNCTION::TASK_CURRE(3stap)