summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2021-12-06 16:45:59 -0800
committerKalesh Singh <kaleshsingh@google.com>2022-01-14 18:50:40 +0000
commitf8ce875c134b1e6ce08171c2cb4b4f3232a90b08 (patch)
tree6c2c5e2263bd12c2873493adf29265c889cc2031
parent73e5d94f4b5de774690e0b55cd766f4baae4e121 (diff)
downloadnative-f8ce875c134b1e6ce08171c2cb4b4f3232a90b08.tar.gz
Allow gpuservice to read tracefs entriesandroid-vts-12.1_r2android-cts-12.1_r2
Gpu service needs tracefs access to attach the BPF program to the gpu_mem_total tracepoint for GPU memory tracking. Bug: 208892266 Bug: 209513178 Bug: 214061655 Test: adb shell dumpsys gpu --gpumem Change-Id: I10fd54544bee940313f3987247c1841101a9d03a Merged-In: I10fd54544bee940313f3987247c1841101a9d03a
-rw-r--r--services/gpuservice/gpuservice.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/gpuservice/gpuservice.rc b/services/gpuservice/gpuservice.rc
index 65a5c2776a..0da8bd3812 100644
--- a/services/gpuservice/gpuservice.rc
+++ b/services/gpuservice/gpuservice.rc
@@ -1,4 +1,4 @@
service gpu /system/bin/gpuservice
class core
user gpu_service
- group graphics
+ group graphics readtracefs