commit | cb56533cae4994f8e7337b18e3966b02038b221a | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Tue Mar 14 21:10:55 2023 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Wed Mar 15 19:08:55 2023 +0000 |
tree | 26bfb017b4c2ccc8d618b7f006c80f6f519a2125 | |
parent | 66eb2a68c4d7d22bdaa919d15c61025411070b61 [diff] |
[layertracegenerator] stream layer trace to file Write the generated layer trace entry by entry so we don't hold the entire unserialized layer trace in memory. Fixes: 272158947 Test: presubmit Test: open streamed trace in winscope Test: cat /proc/`pidof layertracegenerator`/status old VmHWM: 959496 kB new VmHWM: 21416 kB Change-Id: I4bf0cd8fe98d1e2a44fb6b7c85c4e06e586a52ed