commit | 8d247edc93fe0fe75032c361a6e2cf7c8bccb5a7 | [log] [tgz] |
---|---|---|
author | Dmitri Plotnikov <dplotnikov@google.com> | Sat Jan 16 00:10:30 2021 +0000 |
committer | Dmitri Plotnikov <dplotnikov@google.com> | Thu Jan 28 07:16:16 2021 +0000 |
tree | a12c7b66c4a501d8b8dc61376f2f0692968b4934 | |
parent | 258ae119c939fba262d17eb00aaf3aa05e87060b [diff] |
Revert "Revert "Use eBPF-based time-in-state monitoring for groups of threads"" This reverts commit c9e9058347e4f99f7e580869055aae039e05d8ee. This is the original CL, unchanged. The test that was the reason for the rollback now passes, see http://go/forrest-run/L29200000799760670 The reason for the test failure was that Cuttlefish does not define any CPU frequencies, which caused https://android.googlesource.com/platform/frameworks/native/+/refs/changes/65/1558465/2/libs/cputimeinstate/cputimeinstate.cpp#578 to fall into a near-infinite loop, thus locking up BatteryStats. The no-frequencies issue was addressed in https://r.android.com/1558465. Reason for revert: rolling forward since the test failure has been addressed Bug: 169279846 Change-Id: I537561b4c86ef2aaf236b1807b844855fef38f8b (cherry picked from commit 4a7792b30cf2407a0ecb69963e981a7274e1f962) Merged-In: I537561b4c86ef2aaf236b1807b844855fef38f8b