DOKK / manpages / debian 10 / systemtap-doc / function::ns_ppid.3stap.en
FUNCTION::NS_PPID(3stap) Context Functions FUNCTION::NS_PPID(3stap)

function::ns_ppid - Returns the process ID of a target process's parent process as seen in a pid namespace


ns_ppid:long()

None

This function return the process ID of the target proccess's parent process as seen in the target pid namespace if provided, or the stap process namespace.

tapset::context(3stap)

October 2018 SystemTap Tapset Reference