Lines Matching refs:simpleperf
1 # Domain used when running /system/bin/simpleperf to profile a specific app.
5 typeattribute simpleperf coredomain;
8 # Define apps that can be marked debuggable/profileable and be profiled by simpleperf.
17 domain_auto_trans({ simpleperf_profileable_apps -runas_app }, simpleperf_exec, simpleperf)
19 # When running in this domain, simpleperf is scoped to profiling an individual
21 # consistent if simpleperf is marked as an app domain as well (as, for example,
23 app_domain(simpleperf)
24 untrusted_app_domain(simpleperf)
28 allow simpleperf simpleperf_profileable_apps:process ptrace;
31 allow simpleperf self:perf_event { open read write kernel };
35 r_dir_file(simpleperf, simpleperf_profileable_apps)
37 # Allow apps signalling simpleperf domain, which is the domain that the simpleperf
40 allow simpleperf_profileable_apps simpleperf:process signal;
42 # Suppress denial logspam when simpleperf is trying to find a matching process
46 dontaudit simpleperf domain:dir search;
51 neverallow simpleperf self:perf_event ~{ open read write kernel };