vlib: add "save memory-trace" debug CLI 81/41281/3
authorMatus Fabian <[email protected]>
Fri, 19 Jul 2024 13:40:59 +0000 (15:40 +0200)
committerFlorin Coras <[email protected]>
Mon, 22 Jul 2024 15:50:22 +0000 (15:50 +0000)
commit7561c45bcce4913620388a60be36dc1284d484a0
treef028f1572a2460d0e35675f02f7551a0f5202a28
parentef827b3efc5270d4772cf8482b0b08ef7fbbf8c5
vlib: add "save memory-trace" debug CLI

Save memory traces of the currently traced heap in JSON format to file
which can be used as machine-readable data for memory leak diagnose.

Type: improvement

Change-Id: I277f5be5838510e907c4dd7a8a4e9a883cb67bc3
Signed-off-by: Matus Fabian <[email protected]>
src/vlib/cli.c