Skip to content
Snippets Groups Projects
  • Primiano Tucci's avatar
    Reland: perfetto: allow traced_probes to execute atrace · feaf22b1
    Primiano Tucci authored
    This CL adds the SELinux permissions required to execute
    atrace and get userspace tracing events from system services.
    This is to enable tracing of events coming from surfaceflinger,
    audio HAL, etc.
    atrace, when executed, sets a bunch of debug.atrace. properties
    and sends an IPC via binder/hwbinder to tell the services to
    reload that property.
    
    This CL does NOT affect systrace. In that case (i.e. when
    atrace is executed from adb/shell) atrace still runs in
    the shell domain and none of those changes apply.
    
    Change-Id: I11b096d5c5c5593f18bce87f06c1a7b1ffa7910e
    Bug: b/73340039
    feaf22b1