'\" t .\" Title: function::task_parent .\" Author: .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: May 2021 .\" Manual: Context Functions .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::TASK_PAREN" "3stap" "May 2021" "SystemTap Tapset Reference" "Context Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" function::task_parent \- The task_struct of the parent task .SH "SYNOPSIS" .sp .nf task_parent:long(task:long) .fi .SH "ARGUMENTS" .PP \fItask\fR .RS 4 task_struct pointer .RE .SH "DESCRIPTION" .PP 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\&. .SH SEE ALSO\n .IR tapset::task (3stap)