vppinfra: dlmalloc records wrong offset for tracing 86/20186/4
authorWei CHEN <[email protected]>
Tue, 9 Apr 2019 04:38:40 +0000 (12:38 +0800)
committerDave Barach <[email protected]>
Tue, 18 Jun 2019 18:44:11 +0000 (18:44 +0000)
commit822dadf4788e2e6d7cf0b3ec22ebc99f81859f67
tree5bbfb7e869de9c4eadddb8e9025e570ffc85820d
parentae945592b299b14b8d293b4c77b7d851a4f8ea11
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 <[email protected]>
(cherry picked from commit 5e282e93ad9f961d332cac9a033be33542979848)
src/vppinfra/dlmalloc.c