aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-15 22:04:01 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-15 22:04:01 +0000
commit63ca6f2f3e70cc389ea209fc01fbf967c2c52d56 (patch)
treec62f776dd4f98eb30d826a4b70ec8a2687c58417
parent1ddd870820530a5f25391f22006cdfe6479cfc17 (diff)
parent650f8d099514036b6f25f203248e01d89f585630 (diff)
downloadperfetto-android12L-d2-s5-release.tar.gz
Change-Id: I3b2624db1468f5014b869c93bdc27ff01b395b57
-rw-r--r--perfetto.rc2
-rw-r--r--traced_perf.rc2
2 files changed, 2 insertions, 2 deletions
diff --git a/perfetto.rc b/perfetto.rc
index e8762fb74..11cc42e9f 100644
--- a/perfetto.rc
+++ b/perfetto.rc
@@ -27,7 +27,7 @@ service traced_probes /system/bin/traced_probes
user nobody
# Despite the "log" group below, traced_probes is allowed to read log
# only on userdebug/eng via selinux (see traced_probes.te).
- group nobody readproc log
+ group nobody readproc log readtracefs
writepid /dev/cpuset/system-background/tasks
# Clean up procfs configuration even if traced_probes crashes
# unexpectedly.
diff --git a/traced_perf.rc b/traced_perf.rc
index 692977cda..cc8d4e872 100644
--- a/traced_perf.rc
+++ b/traced_perf.rc
@@ -25,7 +25,7 @@ service traced_perf /system/bin/traced_perf
disabled
socket traced_perf stream 0666 root root
user nobody
- group nobody readproc
+ group nobody readproc readtracefs
capabilities KILL DAC_READ_SEARCH
writepid /dev/cpuset/foreground/tasks