FUNCTION::NS_TID(3stap) Context Functions FUNCTION::NS_TID(3stap)

function::ns_tid - Returns the thread ID of a target process as seen in a pid namespace

    ns_tid:long()

None

This function returns the thread ID of a target process as seen in the target pid namespace if provided, or the stap process namespace.

tapset::context(3stap)

November 2023 SystemTap Tapset Reference