OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73e5d94
)
Allow gpuservice to read tracefs entries
author
Kalesh Singh
<kaleshsingh@google.com>
Tue, 7 Dec 2021 00:45:59 +0000
(16:45 -0800)
committer
Kalesh Singh
<kaleshsingh@google.com>
Fri, 14 Jan 2022 18:50:40 +0000
(18:50 +0000)
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
services/gpuservice/gpuservice.rc
patch
|
blob
|
history
diff --git
a/services/gpuservice/gpuservice.rc
b/services/gpuservice/gpuservice.rc
index
65a5c27
..
0da8bd3
100644
(file)
--- 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