Lines Matching refs:simpleperf
1 # Domain used when running /system/bin/simpleperf to profile a specific app.
5 typeattribute simpleperf coredomain;
8 domain_auto_trans({ untrusted_app_all -runas_app }, simpleperf_exec, simpleperf)
10 # When running in this domain, simpleperf is scoped to profiling an individual
12 # consistent if simpleperf is marked as an app domain as well (as, for example,
14 app_domain(simpleperf)
15 untrusted_app_domain(simpleperf)
19 allow simpleperf untrusted_app_all:process ptrace;
22 allow simpleperf self:perf_event { open read write kernel };
26 r_dir_file(simpleperf, untrusted_app_all)
28 # Suppress denial logspam when simpleperf is trying to find a matching process
32 dontaudit simpleperf domain:dir search;
37 neverallow simpleperf self:perf_event ~{ open read write kernel };