function::stp_pid.3stap man page

function::stp_pid — The process id of the stapio process

Synopsis

stp_pid:long()

Arguments

None

Description

This function returns the process id of the stapio process that launched this script. There could be other SystemTap scripts and stapio processes running on the system.

See Also0

tapset::context(3stap)

Info

March 2016 SystemTap Tapset Reference Context Functions