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

# function::abort(3stap)

Immediately shutting down probing script.

## NAME

function::abort - Immediately shutting down probing script.

## SYNOPSIS

```
    abort()
```

## ARGUMENTS

None

## DESCRIPTION

This is similar to **exit** but immediately aborts the current probe handler instead of waiting for its completion. Probe handlers already running on \*other\* CPU cores, however, will still continue to their completion. Unlike **error**, this function call cannot be caught by 'try ... catch'.

## SEE ALSO0

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