commit | 9236e872cd315c36bca7625751f16ec0817348c7 | [log] [tgz] |
---|---|---|
author | Connor O'Brien <connoro@google.com> | Thu Jun 06 17:48:20 2019 -0700 |
committer | Connor O'Brien <connoro@google.com> | Mon Jul 29 12:13:01 2019 -0700 |
tree | 5fc1056ff40bf8dabfdf00381d29daee360fc5af | |
parent | 6c501ea04e486d9bf5c8a08d0d63dadcd9be83a9 [diff] |
libtimeinstate: support cpufreq fast switching In order to support kernels that use fast frequency switching, the time_in_state BPF program needs to know which CPUs are members of which cpufreq policies. Add logic to startTrackingUidCpuFreqTimes() to write this information into a BPF map in order to make it available to the BPF program. Test: libtimeinstate_test passes Change-Id: I47b38457766d21c2aa0879f156fc90757c0db705 Signed-off-by: Connor O'Brien <connoro@google.com>