MINOR: activity: clean up the show profiling io_handler a little bit
authorWilly Tarreau <w@1wt.eu>
Wed, 5 May 2021 15:33:27 +0000 (17:33 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 5 May 2021 17:09:19 +0000 (19:09 +0200)
commit637d85a93e5cad219ff593c0c6f0992e5e82de3f
tree6c26efe6ec245f2f0e444c16f01ba7c83312851f
parentf93c7be87fec4584cd2bbc68f5858a5ef4509da6
MINOR: activity: clean up the show profiling io_handler a little bit

Let's rearrange it to make it more configurable and allow to iterate
over multiple parts (header, tasks, memory etc), to restart from a
given line number (previously it didn't work, though fortunately it
didn't happen), and to support dumping only certain parts and a given
number of lines. A few entries from ctx.cli are now used to store a
restart point and the current step.
src/activity.c