DOKK / manpages / debian 12 / systemtap-doc / function::target_set_pid.3stap.en
FUNCTION::TARGET_SET(3stap) Kernel Process Tapset FUNCTION::TARGET_SET(3stap)

function::target_set_pid - Does pid descend from target process?


target_set_pid(pid:)

pid

The pid of the process to query

This function returns whether the given process-id is within the “target set”, that is whether it is a descendant of the top-level target process.

tapset::target_set(3stap)

November 2022 SystemTap Tapset Reference