vppinfra: fix memory traces 75/38175/2
authorBenoît Ganne <bganne@cisco.com>
Wed, 16 Nov 2022 18:36:15 +0000 (19:36 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Mon, 6 Mar 2023 17:54:26 +0000 (17:54 +0000)
commit22460d6a873187d2130441958093808d23969a1f
treebb219380cc218e7f1887f437e6a374ec18b5e671
parenteb415414b494a8f07224c3fcdf877259aebcda2b
vppinfra: fix memory traces

 - allocates the memory trace spinlock independently from the main heap
 - disable tracing on a per thread basis
 - make sure we hold the memory trace spinlock when changing tracing

Type: fix

Change-Id: I7d84f22132abdc895343d447cd3a2c574786f58d
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/vppinfra/mem_dlmalloc.c