FUNCTION::PNLABEL(3stap) Context Functions FUNCTION::PNLABEL(3stap)

NAME function::pnlabel - Returns the label name parsed from the probe name

SYNOPSIS pnlabel:string()


DESCRIPTION This returns the label name as parsed from the script-level probe point. This function will only work if called directly from the body of a ´.label´ probe point (i.e. no aliases).

CONTEXT The current probe point.

SEE ALSO tapset::pn(3stap)

SystemTap Tapset Reference December 2016 FUNCTION::PNLABEL(3stap)