services/gpuservice/gpuwork/Android.bp
0 → 100644
+57
−0
services/gpuservice/gpuwork/GpuWork.cpp
0 → 100644
+296
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add gpu_work eBPF program that defines the format of and processes the power/gpu_work_period tracepoint. Add code to gpuservice that attaches the eBPF program and reports the GPU time in frequency state stats via `dumpsys gpu --gpuwork`. Bug: b/213577594 Change-Id: I2774909e8a375a8b20e6fb55f8069ecdbe650ef2