function::cmdline_arg.3stap - Man Page

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

November 2023 SystemTap Tapset Reference Context Functions