Home
last modified time | relevance | path

Searched refs:__NR_perf_event_open (Results 1 – 25 of 27) sorted by relevance

12

/tools/arch/x86/include/uapi/asm/
Dunistd_32.h2 #ifndef __NR_perf_event_open
3 # define __NR_perf_event_open 336 macro
Dunistd_64.h2 #ifndef __NR_perf_event_open
3 # define __NR_perf_event_open 298 macro
/tools/testing/selftests/bpf/prog_tests/
Dget_stackid_cannot_attach.c36 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_get_stackid_cannot_attach()
57 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_get_stackid_cannot_attach()
74 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_get_stackid_cannot_attach()
Dsend_signal.c96 pmu_fd = syscall(__NR_perf_event_open, attr, pid, -1, in test_send_signal_common()
172 pmu_fd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, in test_send_signal_nmi()
Dperf_branches.c116 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches_hw()
155 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_branches_no_hw()
Dpe_preserve_elems.c20 pfd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, in test_one_map()
Dperf_event_stackmap.c89 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_perf_event_stackmap()
Dperf_link.c42 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_perf_link()
Dtask_fd_query_tp.c36 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_task_fd_query_tp_core()
Dstacktrace_build_id_nmi.c51 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi()
Dtp_attach_query.c54 pmu_fd[i] = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_tp_attach_query()
Dbpf_cookie.c197 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/tools/perf/
Dperf-sys.h17 return syscall(__NR_perf_event_open, attr, pid, cpu, in sys_perf_event_open()
/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c83 return syscall(__NR_perf_event_open, &attr, -1, cpu, -1, 0); in perf_cpu_event_open()
91 return syscall(__NR_perf_event_open, &attr, child_pid, -1, -1, 0); in perf_thread_event_open()
99 return syscall(__NR_perf_event_open, &attr, child_pid, cpu, -1, 0); in perf_thread_cpu_event_open()
107 return syscall(__NR_perf_event_open, &attr, child_pid, -1, -1, 0); in perf_thread_kernel_event_open()
115 return syscall(__NR_perf_event_open, &attr, -1, cpu, -1, 0); in perf_cpu_kernel_event_open()
Dperf-hwbreak.c75 return syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in perf_process_event_open_exclude_user()
83 return syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in perf_process_event_open()
91 return syscall(__NR_perf_event_open, &attr, -1, cpu, -1, 0); in perf_cpu_event_open()
/tools/testing/selftests/powerpc/pmu/
Devent.c19 return syscall(__NR_perf_event_open, attr, pid, cpu, in perf_event_open()
/tools/testing/selftests/bpf/
Dget_cgroup_id_user.c106 pmu_fd = syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in main()
/tools/testing/selftests/perf_events/
Dremove_on_exec.c89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
Dsigtrap_threads.c126 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/tools/testing/selftests/powerpc/
Dutils.c209 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
/tools/lib/perf/
Devsel.c80 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open()
/tools/include/uapi/asm-generic/
Dunistd.h690 #define __NR_perf_event_open 241 macro
691 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
/tools/testing/selftests/resctrl/
Dresctrlfs.c731 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
/tools/perf/Documentation/
Dtopdown.txt84 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags);
/tools/bpf/bpftool/
Dprog.c2071 pmu_fd = syscall(__NR_perf_event_open, &metrics[mid].attr, in profile_open_perf_event()

12