vppinfra: dlmalloc records wrong offset for tracing 87/20187/5
authorWei CHEN <weichen@astri.org>
Tue, 9 Apr 2019 04:38:40 +0000 (12:38 +0800)
committerDave Wallace <dwallacelf@gmail.com>
Tue, 18 Jun 2019 13:49:31 +0000 (13:49 +0000)
commit03e099f935a5be25ce5d6833e5fba0ec75386573
tree61899fcb07d99e0329c3e8ef523eb27ca08e3f6e
parent32a27b8f61cf7f8bf07b34911478814dcefe9d29
vppinfra: dlmalloc records wrong offset for tracing

Fix a bug that mheap_get_trace is called with the wrong pointer when
mspace_get_aligned allocates a chunk with alignment greater than 16
but less than 4k.

Type: fix

Change-Id: Ic3b91fc9532248482662f019bbfa073da18645ed
Signed-off-by: Wei CHEN <weichen@astri.org>
(cherry picked from commit 5e282e93ad9f961d332cac9a033be33542979848)
src/vppinfra/dlmalloc.c