function::cmdline_arg.3stap man page

function::cmdline_arg — Fetch a command line argument

Synopsis

cmdline_arg:string(n:long)

Arguments

n

Argument to get (zero is the program itself)

Description

Returns argument the requested argument from the current process or the empty string when there are not that many arguments or there is a problem retrieving the argument. Argument zero is traditionally the command itself.

See Also0

tapset::context(3stap)

Info

March 2016 SystemTap Tapset Reference Context Functions