FUNCTION::DISCARD(3stap) Speculation FUNCTION::DISCARD(3stap)

# [NAME](#NAME)

function::discard - Discard all output related to a speculation buffer

# [SYNOPSIS](#SYNOPSIS)

```


    discard(id:long)
```

# [ARGUMENTS](#ARGUMENTS)

*id*

of the buffer to store the information in

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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