function::thread_indent_depth(3stap)

function::thread_indent_depth3stap

Returns the nested-depth of the current task

Usage

    thread_indent_depth:long(delta:long)

Arguments

delta

the amount of depth added/removed for each call

Overview

This function returns an integer equal to the nested function-call depth starting from the outermost initial level. This function is useful for saving space (consumed by whitespace) in traces with long nested function calls. Use this function in a similar fashion to thread_indent, i.e., in call-probe, use thread_indent_depth(1) and in return-probe, use thread_indent_depth(-1)

See ALSO0

tapset::indent(3stap)

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.