This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH] Create a function that indents without the tid()
Breno Leitao <leitao@linux.vnet.ibm.com> writes:
> [...]
>> function indent(delta) { return _generic_indent(0, delta) }
> Well, it makes sense, and it was my first implementation, but later I found that
> tid() can be 0, and then the space counter (_indent_counters[idx]) will be
> corrupted when running indent() and thread_indent() together. [...]
Well, ok, how about { return _generic_indent(-1, delta) } ?
- FChE