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

# function::raise(3stap)

raise a signal in the current thread

## NAME

function::raise - raise a signal in the current thread

## SYNOPSIS

```
    raise(signo:long)
```

## ARGUMENTS

*signo*

signal number

## DESCRIPTION

This function calls the kernel send\_sig routine on the current thread, with the given raw unchecked signal number. It may raise an error if **send\_sig** failed. It requires guru mode.

## SEE ALSO0

[*tapset::guru-signal*(3stap)](/tapset::guru-signal/3stap.md)
