vpp: use vpp heap for libc 49/28949/4
authorBenoît Ganne <bganne@cisco.com>
Fri, 18 Sep 2020 08:05:37 +0000 (10:05 +0200)
committerDamjan Marion <dmarion@me.com>
Tue, 10 Nov 2020 17:13:53 +0000 (17:13 +0000)
commitec4749a20f36af70d71dd37d86737a0d210fdc22
treeb1645d6b7c764dbae4a6b70670bdc943d194b96a
parentab0a87f32780a94f4d576bb9c5bef2715188d102
vpp: use vpp heap for libc

This makes libc use vpp main heap instead of the default libc heap.
This gives better visibility (accounting, tracing) on allocations
happening in external libraries called from vpp (eg. OpenSSL).

Type: feature

Change-Id: I5d8a673472145a4e090bedb443b8c58a967d1cca
Signed-off-by: Benoît Ganne <bganne@cisco.com>
docs/troubleshooting/mem.rst [new file with mode: 0644]
src/vpp/CMakeLists.txt
src/vpp/mem/mem.c [new file with mode: 0644]
src/vpp/mem/mem.md [new file with mode: 0644]
src/vppinfra/mem_dlmalloc.c