diff options
| author | 2020-02-19 14:11:45 -0800 | |
|---|---|---|
| committer | 2020-02-19 14:26:16 -0800 | |
| commit | ab51dca9e65929825231d392a458a9c366d07aec (patch) | |
| tree | c4b66b72ec3600335b1e4e40703858368fce22d0 /opengl/libagl/BufferObjectManager.cpp | |
| parent | c6f093abedd6f9688a35b14be7a3ab46046bc1bd (diff) | |
libtimeinstate: initialize current freq before starting tracking
Currently, our BPF programs start with no knowledge of current CPU
frequency and tracking cannot begin for a cluster until a frequency
transition happens & makes this information available. On cuttlefish,
CPU frequency never changes, so tracking never starts & cuttlefish
can't be used for testing this feature.
To resolve this, pass the BPF programs initial frequency information
read from the scaling_cur_freq sysfs nodes.
Test: libtimeinstate_test passes on cuttlefish
Test: confirm that uid_time_in_state BPF map contains data on
cuttlefish
Bug: 138317993
Signed-off-by: Connor O'Brien <connoro@google.com>
Change-Id: I5b24c1311e1b58b73c7e32f41c2d99c5ab344549
Diffstat (limited to 'opengl/libagl/BufferObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions