Home
last modified time | relevance | path

Searched refs:sys_perf_event_open (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c41 static inline int sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, in sys_perf_event_open() function
62 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in breakpoint_test()
111 break_fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in runtestsingle()
/Linux-v4.19/tools/perf/util/
Drecord.c32 fd = sys_perf_event_open(&evsel->attr, pid, cpu, -1, flags); in perf_do_probe_api()
46 fd = sys_perf_event_open(&evsel->attr, pid, cpu, -1, flags); in perf_do_probe_api()
127 fd = sys_perf_event_open(&attr, -1, cpu, -1, 0); in perf_can_record_cpu_wide()
287 fd = sys_perf_event_open(&evsel->attr, pid, cpu, -1, in perf_evlist__can_select_event()
Dcloexec.c52 fd = sys_perf_event_open(&attr, pid, cpu, -1, in perf_flag_probe()
73 fd = sys_perf_event_open(&attr, pid, cpu, -1, 0); in perf_flag_probe()
/Linux-v4.19/tools/perf/arch/x86/tests/
Dintel-cqm.c84 fd[0] = sys_perf_event_open(&pe, pid, -1, -1, flag); in test__intel_cqm_count_nmi_context()
96 fd[1] = sys_perf_event_open(&pe, pid, -1, fd[0], flag); in test__intel_cqm_count_nmi_context()
Drdpmc.c114 fd = sys_perf_event_open(&attr, 0, -1, -1, in __test__rdpmc()
/Linux-v4.19/tools/perf/tests/attr/
DREADME5 sys_perf_event_open function.
16 This is the sys_perf_event_open hook implementation. The hook
21 For each sys_perf_event_open call event details are stored in
/Linux-v4.19/tools/perf/
Dperf-sys.h58 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
Ddesign.txt21 The special file descriptor is opened via the sys_perf_event_open()
24 int sys_perf_event_open(struct perf_event_attr *hw_event_uptr,
96 * parameter of the sys_perf_event_open() syscall:
233 The 'pid' parameter to the sys_perf_event_open() system call allows the
263 is created first, with group_fd = -1 in the sys_perf_event_open call
/Linux-v4.19/samples/bpf/
Dtrace_event_user.c146 pmu_fd[i] = sys_perf_event_open(attr, -1, i, -1, 0); in test_perf_event_all_cpu()
181 pmu_fd = sys_perf_event_open(attr, 0, -1, -1, 0); in test_perf_event_task()
Dtrace_output_user.c74 pmu_fd = sys_perf_event_open(&attr, -1/*pid*/, 0/*cpu*/, -1/*group_fd*/, 0); in test_bpf_perf_event()
Dtask_fd_query_user.c150 fd = sys_perf_event_open(&attr, -1, 0, -1, 0); in test_nondebug_fs_kuprobe_common()
256 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
Dxdp_sample_pkts_user.c84 pmu_fds[i] = sys_perf_event_open(&attr, -1/*pid*/, i/*cpu*/, in test_bpf_perf_event()
Dsampleip_user.c54 pmu_fd[i] = sys_perf_event_open(&pe_sample_attr, -1 /* pid */, i, in sampling_start()
Dtracex6_user.c36 pmu_fd = sys_perf_event_open(attr, -1/*pid*/, cpu/*cpu*/, -1/*group_fd*/, 0); in check_on_cpu()
/Linux-v4.19/tools/perf/Documentation/
Dintel-pt.txt210 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
211 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
212 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
213 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
640 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
641 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
642 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
643 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
656 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
657 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
[all …]
/Linux-v4.19/tools/perf/tests/
Dbp_signal_overflow.c95 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
Dbp_account.c51 fd = sys_perf_event_open(attr, -1, 0, -1, in __event()
Dbp_signal.c128 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event()
/Linux-v4.19/arch/sparc/kernel/
Dsystbls_64.S87 ….word compat_sys_pwritev, compat_sys_rt_tgsigqueueinfo, sys_perf_event_open, compat_sys_recvmmsg, …
169 .word sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_init
Dsystbls_32.S86 /*325*/ .long sys_pwritev, sys_rt_tgsigqueueinfo, sys_perf_event_open, sys_recvmmsg, sys_fanotify_i…
/Linux-v4.19/arch/m68k/kernel/
Dsyscalltable.S356 .long sys_perf_event_open
/Linux-v4.19/arch/microblaze/kernel/
Dsyscall_table.S370 .long sys_perf_event_open
/Linux-v4.19/arch/sh/kernel/
Dsyscalls_32.S355 .long sys_perf_event_open
Dsyscalls_64.S393 .long sys_perf_event_open
/Linux-v4.19/tools/bpf/bpftool/
Dmap_perf_ring.c153 pmu_fd = sys_perf_event_open(&attr, -1, cpu, -1, 0); in bpf_perf_event_open()

12