function::env_var.3stap man page

function::env_var — Fetch environment variable from current process

Synopsis

env_var:string(name:string)

Arguments

name

Name of the environment variable to fetch

Description

Returns the contents of the specified environment value for the current process. If the variable isn't set an empty string is returned.

See Also0

tapset::context-envvar(3stap)

Info

March 2016 SystemTap Tapset Reference Context Functions