Skip to content
Commit f44fe9c4 authored by Rafal Slawik's avatar Rafal Slawik
Browse files

Do not keep the input array with CPU times

CpuTimePerUidFreq puller kept the input array with CPU times to avoid
copies, but that array is owned by the reader and is mutated for each
callback invocation. This corrupted the aggregated data.

Bug: 157535126
Test: cmd stats pull-source 10010
Test: atest CpuStatsTests
Change-Id: Icda6a71f558e582c5d5b497e2cca1d84deed8b99
parent 8b8c4301
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment