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

function::ns_uid - Returns the user ID of a target process as seen in a user namespace


ns_uid:long()

None

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

tapset::context(3stap)

November 2022 SystemTap Tapset Reference