Merge "Allow adb root to send config to perfetto"
This commit is contained in:
commit
b78af6cdb4
1 changed files with 5 additions and 6 deletions
|
@ -20,12 +20,11 @@ binder_use(perfetto)
|
|||
binder_call(perfetto, system_server)
|
||||
allow perfetto dropbox_service:service_manager find;
|
||||
|
||||
# Allow statsd and shell to pipe the trace config to perfetto on stdin and to
|
||||
# print out on stdout/stderr.
|
||||
allow perfetto statsd:fd use;
|
||||
allow perfetto statsd:fifo_file { getattr read write };
|
||||
allow perfetto shell:fd use;
|
||||
allow perfetto shell:fifo_file { getattr read write };
|
||||
# Allow perfetto to read the trace config from statsd and shell
|
||||
# (both root and non-root) on stdin and also to write the resulting trace to
|
||||
# stdout.
|
||||
allow perfetto { statsd shell su }:fd use;
|
||||
allow perfetto { statsd shell su }:fifo_file { getattr read write };
|
||||
|
||||
# Allow to communicate use, read and write over the adb connection.
|
||||
allow perfetto adbd:fd use;
|
||||
|
|
Loading…
Reference in a new issue