DOKK / manpages / debian 11 / systemtap-doc / function::task_ancestry.3stap.en
FUNCTION::TASK_ANCES(3stap) Context Functions FUNCTION::TASK_ANCES(3stap)

function::task_ancestry - The ancestry of the given task


task_ancestry:string(task:long,with_time:long)

task

task_struct pointer

with_time

set to 1 to also print the start time of processes (given as a delta from boot time)

Return the ancestry of the given task in the form of “grandparent_process=>parent_process=>process”.

tapset::task_ancestry(3stap)

November 2020 SystemTap Tapset Reference