commit | 9290fc7b9d3609b854d2791428b2385bba427906 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Dec 06 14:00:27 2021 -0800 |
committer | Yabin Cui <yabinc@google.com> | Mon Dec 06 14:00:27 2021 -0800 |
tree | 1e88e84a5492fd752233e37c07eb6a189285caf8 | |
parent | ae72a2d2bbc22ff8da5bc65142771f618dc031aa [diff] |
simpleperf: use 8 byte aligned stack size when resizing stack data. When generating sample records for 32bit arm processes, the dyn_stack_size may not be 8 byte aligned. And dyn_stack_size can be used to calculate new stack size. If the new stack size isn't 8 byte aligned, we can have alginment error later. So make sure new stack size is 8 byte aligned. Bug: 208187192 Test: run simpleperf_unit_test Change-Id: Ibc2f99ba766419fdb491c49317b9fb5ae13138ef