DOKK / manpages / debian 12 / systemtap-doc / function::task_parent.3stap.en
FUNCTION::TASK_PAREN(3stap) Context Functions FUNCTION::TASK_PAREN(3stap)

function::task_parent - The task_struct of the parent task


task_parent:long(task:long)

task

task_struct pointer

This function returns the parent task_struct of the given task. This address can be passed to the various task_*() functions to extract more task-specific data.

tapset::task(3stap)

November 2022 SystemTap Tapset Reference