DOKK / manpages / debian 11 / systemtap-doc / function::thread_indent.3stap.en
FUNCTION::THREAD_IND(3stap) Utility functions for using an FUNCTION::THREAD_IND(3stap)

function::thread_indent - returns an amount of space with the current task information


thread_indent:string(delta:long)

delta

the amount of space added/removed for each call

This function returns a string with appropriate indentation for a thread. Call it with a small positive or matching negative delta. If this is the real outermost, initial level of indentation, then the function resets the relative timestamp base to zero. The timestamp is as per provided by the __indent_timestamp function, which by default measures microseconds.

tapset::indent(3stap)

November 2020 SystemTap Tapset Reference