1FUNCTION::REMOTE_ID(3stap) Context Functions FUNCTION::REMOTE_ID(3stap)
2
3
4
6 function::remote_id - The index of this instance in a remote execution.
7
9 remote_id:long()
10
12 None
13
15 This function returns a number 0..N, which is the unique index of this
16 particular script execution from a swarm of “stap --remote A --remote B
17 ...” runs, and is the same number “stap --remote-prefix” would print.
18 The function returns -1 if the script was not launched with “stap
19 --remote”, or if the remote staprun/stapsh are older than version 1.7.
20
22 tapset::context(3stap)
23
24
25
26SystemTap Tapset Reference October 2018 FUNCTION::REMOTE_ID(3stap)