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

# function::exit(3stap)

Start shutting down probing script.

## NAME

function::exit - Start shutting down probing script.

## SYNOPSIS

```
    exit()
```

## ARGUMENTS

None

## DESCRIPTION

This only enqueues a request to start shutting down the script. New probes will not fire (except “end” probes), but all currently running ones may complete their work.

## SEE ALSO0

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