Skip to content
Snippets Groups Projects
Commit b78af6cd authored by Hector Dearman's avatar Hector Dearman Committed by Gerrit Code Review
Browse files

Merge "Allow adb root to send config to perfetto"

parents 5a6d94bc 3fa4ac55
No related branches found
No related tags found
No related merge requests found
...@@ -20,12 +20,11 @@ binder_use(perfetto) ...@@ -20,12 +20,11 @@ binder_use(perfetto)
binder_call(perfetto, system_server) binder_call(perfetto, system_server)
allow perfetto dropbox_service:service_manager find; allow perfetto dropbox_service:service_manager find;
# Allow statsd and shell to pipe the trace config to perfetto on stdin and to # Allow perfetto to read the trace config from statsd and shell
# print out on stdout/stderr. # (both root and non-root) on stdin and also to write the resulting trace to
allow perfetto statsd:fd use; # stdout.
allow perfetto statsd:fifo_file { getattr read write }; allow perfetto { statsd shell su }:fd use;
allow perfetto shell:fd use; allow perfetto { statsd shell su }:fifo_file { getattr read write };
allow perfetto shell:fifo_file { getattr read write };
# Allow to communicate use, read and write over the adb connection. # Allow to communicate use, read and write over the adb connection.
allow perfetto adbd:fd use; allow perfetto adbd:fd use;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment