1FUNCTION::THREAD_IND(3staUpt)ility functions for usingFaUnNCTION::THREAD_IND(3stap)
2
3
4

NAME

6       function::thread_indent_depth - returns the nested-depth of the current
7       task
8

SYNOPSIS

10           thread_indent_depth:long(delta:long)
11

ARGUMENTS

13       delta
14           the amount of depth added/removed for each call
15

DESCRIPTION

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

SEE ALSO

25       tapset::indent(3stap)
26
27
28
29SystemTap Tapset Reference        April 2023       FUNCTION::THREAD_IND(3stap)
Impressum