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

# [NAME](#NAME)

function::symline - Return the line number of an address.

# [SYNOPSIS](#SYNOPSIS)

```


    symline:string(addr:long)
```

# [ARGUMENTS](#ARGUMENTS)

*addr*

The address to translate.

# [DESCRIPTION](#DESCRIPTION)

Returns the (approximate) line number of the given address, if known. If the line number cannot be found, the hex string representation of the address will be returned.

September 2026 SystemTap Tapset Reference Ver

---

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