FUNCTION::THREAD_INDENT_DEPTH(3stap)
β¨ FUNCTION::THREAD_INDENT_DEPTH(3stap) β¨
okay so bestie, we're in the SystemTap Tapset Reference β the Utility functions for using an... part of the manual, the 3stap section, and this is the page for function::thread_indent_depth. π
π NAME π
function::thread_indent_depth β returns the nested-depth of the current task πΈ
π¦ SYNOPSIS π¦
thread_indent_depth:long(delta:long)
like, that's the whole signature, no notes. π
π ARGUMENTS π
deltaβ the amount of depth added/removed for each call. so it's giving "how much do we move the depth needle by" every single time you call her. π
π DESCRIPTION π
bestie listen. This function returns an integer equal to the nested function-call depth starting from the outermost initial level. That's it, that's the whole job. π«Ά
And why do we care? Because this function is useful for saving space (specifically the space consumed by all that whitespace) in traces that have long, deeply nested function calls. Basically it's the anti-whitespace queen, keeping your trace cute and compact instead of letting it spread out like an unformatted group chat. β¨
Use this function in a similar fashion to thread_indent, okay? iykyk. Like literally:
- in a call-probe, use
thread_indent_depth(1) - in a return-probe, use
thread_indent_depth(-1)
up and down, in and out, main character energy, the depth just tracks. π
π SEE ALSO π
tapset::indent(3stap)β go read her too, she's iconic. π
fr fr, don't forget the-1on the return-probe. you go in with1, you come out with-1, that's the vibe check. π
and that's a wrap babes! π This lil love letter came to you from the SystemTap Tapset Reference, version Ver (yes that's literally what the footer says, don't @ me), dated September 2026. slay, read responsibly, and go indent some traces. πΈπ¦π
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms