commit | e3fc4471359f0543478b20a13195c85efb51eb2a | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Aug 29 15:47:50 2024 -0700 |
committer | Yabin Cui <yabinc@google.com> | Thu Aug 29 16:04:29 2024 -0700 |
tree | b20a1e7b4f567195ddefe48deea9ceaa8eda6cbf | |
parent | e0518eb3cce4ce6ef9ee6a5d9833c1915292682b [diff] |
simpleperf: Avoid allocating high order pages for ETM recording The kernel allocates high order pages for ETM recording, controlled by aux_watermark. This is shown in https://lore.kernel.org/all/20210414154955.49603-2-alexander.shishkin@linux.intel.com/T/#u. So set a low value to aux_watermark to avoid allocating high order pages. Adjusting aux_watermark doesn't affect ETM recording. Because it always copies all 4M data to aux buffer. Bug: 362738973 Test: run simpleperf_unit_test Change-Id: I687d83624ab40c32ae63d991990d39651bcb1d86