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

# function::stack\_size(3stap)

Return the size of the kernel stack

## NAME

function::stack\_size - Return the size of the kernel stack

## SYNOPSIS

```
    stack_size:long()
```

## ARGUMENTS

None

## DESCRIPTION

This function returns the size of the kernel stack.

## SEE ALSO0

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