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

October 2017 SystemTap Tapset Reference Context Functions