/system/extras/tests/icachetest/ |
D | Profiler.cpp | 41 static int perf_event_open(struct perf_event_attr* hw_event, pid_t pid, in perf_event_open() function 94 int fd = perf_event_open(&pe, 0, -1, -1, 0); in resetEvents() 105 mCountersFd[CPU_CYCLES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 115 mCountersFd[DCACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 125 mCountersFd[DCACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 135 mCountersFd[BRANCHES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 145 mCountersFd[BRANCH_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 156 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 166 mCountersFd[ICACHE_MISSES] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() 177 mCountersFd[ICACHE_REFS] = perf_event_open(&pe, 0, -1, groupFd, 0); in resetEvents() [all …]
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | init.te | 48 # for the perf_event_open() syscall. This is done by testing for the syscall 51 # kernels that precede the perf_event_open hooks (Android common kernels 4.4 57 # Only init is allowed to set the sysprop indicating whether perf_event_open()
|
D | traced_perf.te | 1 # Performance profiler, backed by perf_event_open(2). 11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
|
D | runas_app.te | 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
D | simpleperf.te | 21 # Allow using perf_event_open syscall for profiling the target app.
|
D | shell.te | 89 # Allow shell to call perf_event_open for profiling other shell processes, but
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | traced_perf.te | 1 # Performance profiler, backed by perf_event_open(2). 11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
|
D | init.te | 62 # for the perf_event_open() syscall. This is done by testing for the syscall 65 # kernels that precede the perf_event_open hooks (Android common kernels 4.4 83 # Only init is allowed to set the sysprop indicating whether perf_event_open()
|
D | runas_app.te | 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
D | simpleperf.te | 21 # Allow using perf_event_open syscall for profiling the target app.
|
D | profcollectd.te | 12 # Allow profcollectd full use of perf_event_open(2), to enable system wide profiling.
|
D | shell.te | 112 # Allow shell to call perf_event_open for profiling other shell processes, but 168 # Allow reading the outcome of perf_event_open LSM support test for CTS.
|
/system/sepolicy/private/ |
D | traced_perf.te | 1 # Performance profiler, backed by perf_event_open(2). 11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
|
D | init.te | 62 # for the perf_event_open() syscall. This is done by testing for the syscall 65 # kernels that precede the perf_event_open hooks (Android common kernels 4.4 83 # Only init is allowed to set the sysprop indicating whether perf_event_open()
|
D | runas_app.te | 29 # Allow runas_app to call perf_event_open for profiling debuggable app
|
D | simpleperf.te | 21 # Allow using perf_event_open syscall for profiling the target app.
|
D | profcollectd.te | 12 # Allow profcollectd full use of perf_event_open(2), to enable system wide profiling.
|
D | shell.te | 112 # Allow shell to call perf_event_open for profiling other shell processes, but 168 # Allow reading the outcome of perf_event_open LSM support test for CTS.
|
/system/extras/simpleperf/ |
D | event_fd.cpp | 43 static int perf_event_open(const perf_event_attr& attr, pid_t pid, int cpu, int group_fd, in perf_event_open() function 67 int perf_event_fd = perf_event_open(real_attr, tid, cpu, group_fd, 0); in OpenEventFile()
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | perfprofd.te | 80 # simpleperf will set security.perf_harden to enable access to perf_event_open()
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | perfprofd.te | 82 # simpleperf will set security.perf_harden to enable access to perf_event_open()
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | shell.te | 112 # Allow reading the outcome of perf_event_open LSM support test for CTS.
|
/system/extras/simpleperf/doc/ |
D | executable_commands_reference.md | 42 exposes all events to userspace via the perf_event_open system call, which is used by simpleperf.
|
/system/core/rootdir/ |
D | init.rc | 1162 # perf_event_open syscall security:
|