function::ns_sid(3stap)

function::ns_sid3stap

Returns the session id of the current process as seen in a pid namespace

Usage

    ns_sid:long()

Arguments

None

Overview

The namespace-aware session ID of a process is the process group ID of the session leader as seen in the target pid namespace if provided, or the stap process namespace. Session ID is stored in the signal_struct since Kernel 2.6.0.

See ALSO0

tapset::context(3stap)

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.