---
name: "function::pn"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::pn"
---

# function::pn(3stap)

Returns the active probe name

## NAME

function::pn - Returns the active probe name

## SYNOPSIS

```
    pn:string()
```

## ARGUMENTS

None

## DESCRIPTION

This function returns the script-level probe point associated with a currently running probe handler, including wild-card expansion effects. Context: The current probe point.

## SEE ALSO0

[*tapset::pn*(3stap)](/tapset::pn/3stap.md)
