Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/bpf/prog_tests/
A 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()
73 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_get_stackid_cannot_attach()
A 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()
A 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()
A Dpe_preserve_elems.c20 pfd = syscall(__NR_perf_event_open, &attr, 0 /* pid */, in test_one_map()
A Dperf_link.c43 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in serial_test_perf_link()
A Dperf_event_stackmap.c89 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_perf_event_stackmap()
A Dget_branch_snapshot.c54 pfd_array[cpu] = syscall(__NR_perf_event_open, &attr, in create_perf_events()
A Dtask_fd_query_tp.c36 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_task_fd_query_tp_core()
A Dstacktrace_build_id_nmi.c51 pmu_fd = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in test_stacktrace_build_id_nmi()
A Dtp_attach_query.c54 pmu_fd[i] = syscall(__NR_perf_event_open, &attr, -1 /* pid */, in serial_test_tp_attach_query()
A Dbpf_cookie.c197 pfd = syscall(__NR_perf_event_open, &attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in pe_subtest()
/linux/tools/arch/x86/include/uapi/asm/
A Dunistd_32.h2 #ifndef __NR_perf_event_open
3 # define __NR_perf_event_open 336 macro
A Dunistd_64.h2 #ifndef __NR_perf_event_open
3 # define __NR_perf_event_open 298 macro
/linux/tools/testing/selftests/powerpc/ptrace/
A 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()
A 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()
/linux/tools/perf/
A Dperf-sys.h17 return syscall(__NR_perf_event_open, attr, pid, cpu, in sys_perf_event_open()
/linux/tools/testing/selftests/bpf/
A Dget_cgroup_id_user.c106 pmu_fd = syscall(__NR_perf_event_open, &attr, getpid(), -1, -1, 0); in main()
/linux/tools/testing/selftests/powerpc/pmu/
A Devent.c19 return syscall(__NR_perf_event_open, attr, pid, cpu, in perf_event_open()
/linux/tools/testing/selftests/perf_events/
A Dremove_on_exec.c89 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
A Dsigtrap_threads.c126 self->fd = syscall(__NR_perf_event_open, &attr, 0, -1, -1, PERF_FLAG_FD_CLOEXEC); in FIXTURE_SETUP()
/linux/tools/testing/selftests/powerpc/
A Dutils.c209 return syscall(__NR_perf_event_open, hw_event, pid, cpu, in perf_event_open()
/linux/tools/include/uapi/asm-generic/
A Dunistd.h690 #define __NR_perf_event_open 241 macro
691 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
/linux/include/uapi/asm-generic/
A Dunistd.h690 #define __NR_perf_event_open 241 macro
691 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)
/linux/tools/lib/perf/
A Devsel.c80 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open()
/linux/arch/arm64/include/asm/
A Dunistd32.h741 #define __NR_perf_event_open 364 macro
742 __SYSCALL(__NR_perf_event_open, sys_perf_event_open)

Completed in 39 milliseconds

12