FUNCTION::PSTRACE(3stap)

πŸ’– NAME πŸ’–

okay so this page is FUNCTION::PSTRACE from the 3stap manual, and it's giving "walk the whole process family tree" energy. It's function::pstrace β€” chain of processes and pids back to init(1). periodt. πŸ’…

✨ SYNOPSIS ✨

pstrace:string(task:long)

πŸŽ€ ARGUMENTS πŸŽ€

  • task β€” pointer to the task struct of the process. like, the actual task struct, bestie. 🫢

🌸 DESCRIPTION 🌸

This function returns a string, and that string lists execname and pid for each process, starting from task and going back to the process ancestor that init(1) spawned. no cap, it's literally tracing the chain all the way back. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

tapset::pstrace(3stap)


and for the source/version + date sign-off: SystemTap Tapset Reference, Ver, September 2026 πŸ’œ

πŸ“¦ where this page comes from