commit | f44fe9c4b694bf993b440aa721ac8f3e747ab5c7 | [log] [tgz] |
---|---|---|
author | Rafal Slawik <rslawik@google.com> | Thu Feb 11 10:54:24 2021 +0000 |
committer | Rafal Slawik <rslawik@google.com> | Thu Feb 11 12:54:28 2021 +0000 |
tree | 516a5ba9faaf44f7ff35b86ed1e252cd10d36874 | |
parent | 8b8c4301ac102b50d7ab4461c0773f66228281ba [diff] |
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