Home
last modified time | relevance | path

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

12

/tools/arch/x86/include/uapi/asm/
Dunistd_64.h20 #ifndef __NR_perf_event_open
21 #define __NR_perf_event_open 298 macro
Dunistd_32.h23 #ifndef __NR_perf_event_open
24 #define __NR_perf_event_open 336 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()
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()
Dsend_signal.c103 pmu_fd = syscall(__NR_perf_event_open, attr, pid, -1 /* cpu */, in test_send_signal_common()
180 pmu_fd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, in test_send_signal_nmi()
Dpe_preserve_elems.c20 pfd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, in test_one_map()
Dperf_link.c43 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
Dperf_event_stackmap.c90 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_perf_event_stackmap()
Dget_branch_snapshot.c54 pfd_array[cpu] = syscall(__NR_perf_event_open, &attr, in create_perf_events()
Dtask_fd_query_tp.c41 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_task_fd_query_tp_core()
Dfind_vma.c36 pfd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in open_pe()
Dstacktrace_build_id_nmi.c35 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi()
Dtp_attach_query.c60 pmu_fd[i] = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in serial_test_tp_attach_query()
Dunpriv_bpf_disabled.c286 perf_fd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_unpriv_bpf_disabled()
/tools/perf/
Dperf-sys.h17 return syscall(__NR_perf_event_open, attr, pid, cpu, in sys_perf_event_open()
/tools/testing/selftests/bpf/
Dget_cgroup_id_user.c114 pmu_fd = syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in main()
/tools/testing/selftests/powerpc/pmu/
Devent.c20 return syscall(__NR_perf_event_open, attr, pid, cpu, in perf_event_open()
/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.c133 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c79 return syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in perf_process_event_open_exclude_user()
87 return syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in perf_process_event_open()
95 return syscall(__NR_perf_event_open, &attr, -1, cpu, -1, 0); in perf_cpu_event_open()
Dptrace-perf-hwbreak.c119 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in perf_event_open()
/tools/testing/selftests/user_events/
Dperf_test.c35 return syscall(__NR_perf_event_open, pe, pid, cpu, group_fd, flags); in perf_event_open()
/tools/testing/selftests/resctrl/
Dresctrlfs.c665 ret = syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
/tools/include/uapi/asm-generic/
Dunistd.h614 #define __NR_perf_event_open 241 macro
615 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
/tools/testing/selftests/powerpc/
Dutils.c526 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()

12