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

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

```


    pnlabel:string()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#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](#CONTEXT)

The current probe point.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::pn*(3stap)](/man/enterprise-packages/systemtap/tapset::pn.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::pnlabel(3stap) from systemtap 5.6-r1 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
