Snap for 8084085 from 650f8d099514036b6f25f203248e01d89f585630 to sc-d2-release

Change-Id: I3b2624db1468f5014b869c93bdc27ff01b395b57
diff --git a/perfetto.rc b/perfetto.rc
index e8762fb..11cc42e 100644
--- a/perfetto.rc
+++ b/perfetto.rc
@@ -27,7 +27,7 @@
     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 692977c..cc8d4e8 100644
--- a/traced_perf.rc
+++ b/traced_perf.rc
@@ -25,7 +25,7 @@
     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