Home
last modified time | relevance | path

Searched refs:perf_event_open (Results 1 – 24 of 24) sorted by relevance

/system/extras/tests/icachetest/
DProfiler.cpp41 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/
Dinit.te48 # 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()
Dtraced_perf.te1 # Performance profiler, backed by perf_event_open(2).
11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
Drunas_app.te29 # Allow runas_app to call perf_event_open for profiling debuggable app
Dsimpleperf.te21 # Allow using perf_event_open syscall for profiling the target app.
Dshell.te89 # Allow shell to call perf_event_open for profiling other shell processes, but
/system/sepolicy/prebuilts/api/31.0/private/
Dtraced_perf.te1 # Performance profiler, backed by perf_event_open(2).
11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
Dinit.te62 # 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()
Drunas_app.te29 # Allow runas_app to call perf_event_open for profiling debuggable app
Dsimpleperf.te21 # Allow using perf_event_open syscall for profiling the target app.
Dprofcollectd.te12 # Allow profcollectd full use of perf_event_open(2), to enable system wide profiling.
Dshell.te112 # 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/
Dtraced_perf.te1 # Performance profiler, backed by perf_event_open(2).
11 # Allow traced_perf full use of perf_event_open(2). It will perform cpu-wide
Dinit.te62 # 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()
Drunas_app.te29 # Allow runas_app to call perf_event_open for profiling debuggable app
Dsimpleperf.te21 # Allow using perf_event_open syscall for profiling the target app.
Dprofcollectd.te12 # Allow profcollectd full use of perf_event_open(2), to enable system wide profiling.
Dshell.te112 # 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/
Devent_fd.cpp43 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/
Dperfprofd.te80 # simpleperf will set security.perf_harden to enable access to perf_event_open()
/system/sepolicy/prebuilts/api/29.0/public/
Dperfprofd.te82 # simpleperf will set security.perf_harden to enable access to perf_event_open()
/system/sepolicy/prebuilts/api/30.0/public/
Dshell.te112 # Allow reading the outcome of perf_event_open LSM support test for CTS.
/system/extras/simpleperf/doc/
Dexecutable_commands_reference.md42 exposes all events to userspace via the perf_event_open system call, which is used by simpleperf.
/system/core/rootdir/
Dinit.rc1162 # perf_event_open syscall security: