commit | 0d539c167b5caaa2730e4dc3c53034a652bcee51 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Thu Feb 17 09:57:42 2022 -0800 |
committer | Yabin Cui <yabinc@google.com> | Thu Feb 17 10:26:53 2022 -0800 |
tree | 4b8acbe4ec19e503854f337fdd43b0b9e223bea4 | |
parent | 2719ff2971b7a8f45ad43b172b05bba030ee3d6b [diff] |
profcollectd: add wakelock when recording ETM data. The kernel may panic when trying to hibernate or hotplug CPUs while collecting ETM data. So get wakelock to keep the CPUs on. Bug: 219934028 Test: run profcollectd and Test: dumpsys suspend_control_internal --wakelocks Change-Id: Ie1fea2b6d82d3e27d8b9553aa3967876ff7316ca