aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-19 00:04:12 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-19 00:04:12 +0000
commit90ce65714ac0f62f2f1f0c01042c1b21de5caf57 (patch)
treec62f776dd4f98eb30d826a4b70ec8a2687c58417
parent13d4feda1cb63a8a720b2e7dca4b27de01faeb17 (diff)
parent650f8d099514036b6f25f203248e01d89f585630 (diff)
downloadperfetto-android12-qpr3-s3-release.tar.gz
Change-Id: I1d7044047f299a620f418543b6cf356788a419e1
-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