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

function::pstrace - Chain of processes and pids back to init(1)


pstrace:string(task:long)

task

Pointer to task struct of process

This function returns a string listing execname and pid for each process starting from task back to the process ancestor that init(1) spawned.

tapset::pstrace(3stap)

November 2022 SystemTap Tapset Reference