MINOR: activity/cli: optionally support sorting by address on "show profiling"
authorWilly Tarreau <w@1wt.eu>
Thu, 13 May 2021 08:00:17 +0000 (10:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 May 2021 08:00:17 +0000 (10:00 +0200)
commitf1c8a3846c9533c9cc5e049dfceddeb85a5f90ac
treee175b8d0399a56e486b6d2cad5ac17c5edcc1fe8
parentb38b5c3d0d4df6428ac55499e40ed4ef32ceb405
MINOR: activity/cli: optionally support sorting by address on "show profiling"

"show profiling" by default sorts by usage/counts, which is suitable for
occasional use. But when called from scripts to monitor/search variations,
this is not very convenient. Let's add a new "byaddr" option to support
sorting the output by address. It also eases matching alloc/free calls
from within a same library, or reading grouped tasks costs by library.
doc/management.txt
src/activity.c