/linux-master/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 17 int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, function 71 e->fd = perf_event_open(&e->attr, pid, cpu, group_fd, 0); 73 perror("perf_event_open");
|
/linux-master/tools/testing/selftests/user_events/ |
H A D | perf_test.c | 32 static long perf_event_open(struct perf_event_attr *pe, pid_t pid, function 167 fd = perf_event_open(&pe, 0, -1, -1, 0); 229 fd = perf_event_open(&pe, 0, -1, -1, 0);
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | cache.c | 50 pe_fd = perf_event_open(pea, pid, cpu_no, -1, PERF_FLAG_FD_CLOEXEC);
|
H A D | resctrl.h | 149 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu,
|
H A D | resctrlfs.c | 858 int perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, function
|
H A D | resctrl_val.c | 136 perf_event_open(&imc_counters_config[i][j].pe, -1, cpu_no, -1,
|
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 116 static int perf_event_open(struct perf_event_attr *attr, pid_t pid, int cpu, function 140 return perf_event_open(&attr, child_pid, -1, -1, 0);
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_intel_pt.sh | 165 perf_event_open = "sys_perf_event_open: pid"d"cpu"d"group_fd"d"flags"x"="u 178 $0 ~ perf_event_open && active { 179 match($0, perf_event_open)
|
/linux-master/tools/testing/selftests/powerpc/ |
H A D | utils.c | 523 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, function 554 fd = perf_event_open(&event_attr, 0, -1, group_fd, 0); 557 perror("perf_event_open() failed");
|
/linux-master/kernel/ |
H A D | sys_ni.c | 200 COND_SYSCALL(perf_event_open); variable
|
/linux-master/include/linux/ |
H A D | lsm_hook_defs.h | 441 LSM_HOOK(int, 0, perf_event_open, struct perf_event_attr *attr, int type)
|
/linux-master/security/ |
H A D | security.c | 5576 * Check whether the @type of perf_event_open syscall is allowed. 5582 return call_int_hook(perf_event_open, attr, type);
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1551 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, unsigned long flags) function 1575 const int fd = perf_event_open(&attr, pid, cpu, group_fd, flags);
|
/linux-master/security/selinux/ |
H A D | hooks.c | 7361 LSM_HOOK_INIT(perf_event_open, selinux_perf_event_open),
|
/linux-master/kernel/events/ |
H A D | core.c | 1977 * perf_event_open(). 10518 * with perf_event_open() 12416 SYSCALL_DEFINE5(perf_event_open, 12443 /* Do we allow access to perf_event_open(2) ? */
|