commit | b34a60113d893901bd3789fef52037226343c48d | [log] [tgz] |
---|---|---|
author | Rafal Slawik <rslawik@google.com> | Wed Mar 03 19:53:36 2021 +0000 |
committer | Rafal Slawik <rslawik@google.com> | Wed Mar 10 13:18:01 2021 +0000 |
tree | 83bc0babb9faecedd2809dd9d0c1e5d22dde8a53 | |
parent | b713847036c1b411031e461cb3df9f22b309d9f2 [diff] |
Track surfaceflinger CPU usage Use the same approach that is used to track system server thread group CPU usage: KernelSingleProcessCpuThreadReader which uses the eBPF time_in_state program to record CPU usage for selected pids and tids. Test: cmd stats pull-source 10098 Test: atest CpuStatsTests Bug: 181232205 Change-Id: I84d46409547f92e410fd3b4f8b8ccb823bcee98b