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

# function::indent\_depth(3stap)

returns the global nested-depth

## NAME

function::indent\_depth - returns the global nested-depth

## SYNOPSIS

```
    indent_depth:long(delta:long)
```

## ARGUMENTS

*delta*

the amount of depth added/removed for each call

## DESCRIPTION

This function returns a number for appropriate indentation, similar to **indent**. Call it with a small positive or matching negative delta. Unlike the thread\_indent\_depth function, the indent does not track individual indent values on a per thread basis.

## SEE ALSO0

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