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

# function::commit(3stap)

Write out all output related to a speculation buffer

## NAME

function::commit - Write out all output related to a speculation buffer

## SYNOPSIS

```
    commit(id:long)
```

## ARGUMENTS

*id*

of the buffer to store the information in

## DESCRIPTION

Output all the output for *id* in the order that it was entered into the speculative buffer by **speculative**.

## SEE ALSO0

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