aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-15 22:04:08 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-01-15 22:04:08 +0000
commitfe289dd800fac5f389664ddc939c5fe2fab4eb9f (patch)
treec62f776dd4f98eb30d826a4b70ec8a2687c58417
parentf0e344989413b02eb326462872eacf1a1a67006a (diff)
parent650f8d099514036b6f25f203248e01d89f585630 (diff)
downloadperfetto-android-platform-12.1.0_r3.tar.gz
Change-Id: I1922b73f142962a3e47c53ff8c52a73dd6951703
-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