On Thu, Sep 29, 2022 at 1:44 PM Amit Prakash Shukla <amitpraka...@marvell.com> wrote: > > Changes adds telemetry support to display system memory information, > allocated using calls malloc, calloc, mmap, etc. This patch > is based on malloc_info. This patch adds following endpoints:
malloc_info is a GNU extension. It is not available in musl and it breaks compilation in Alpine Linux. So I can't take this patch. > > 1. /sysmem/sys_heap_list > The commands displays the arenas currently in use. > Example: > --> /sysmem/sys_heap_list > {"/sysmem/sys_heap_list": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]} > I am unsure about the command names. Those commands are really low level and tied to glibc malloc. It is unlikely we will have an unified naming with other libc/OS. I would prefer another pair of eyes, especially on this patch. Dmitry, Anatoly? -- David Marchand