Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
A Dperf_api_probe.c32 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
46 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, flags); in perf_do_probe_api()
147 fd = sys_perf_event_open(&attr, -1, cpu, -1, 0); in perf_can_record_cpu_wide()
172 fd = sys_perf_event_open(&attr, -1, 0, -1, 0); in perf_can_aux_sample()
A Dcloexec.c53 fd = sys_perf_event_open(&attr, pid, cpu, -1, in perf_flag_probe()
74 fd = sys_perf_event_open(&attr, pid, cpu, -1, 0); in perf_flag_probe()
A Drecord.c256 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, -1, in evlist__can_select_event()
/linux/tools/perf/arch/x86/tests/
A 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()
A Drdpmc.c116 fd = sys_perf_event_open(&attr, 0, -1, -1, in __test__rdpmc()
/linux/tools/perf/tests/attr/
A 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/tools/perf/
A Dperf-sys.h13 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
A 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:
240 The 'pid' parameter to the sys_perf_event_open() system call allows the
271 is created first, with group_fd = -1 in the sys_perf_event_open call
/linux/samples/bpf/
A Dtrace_event_user.c153 pmu_fd = sys_perf_event_open(attr, -1, i, -1, 0); in test_perf_event_all_cpu()
192 pmu_fd = sys_perf_event_open(attr, 0, -1, -1, 0); in test_perf_event_task()
A Dtask_fd_query_user.c156 fd = sys_perf_event_open(&attr, -1, 0, -1, 0); in test_nondebug_fs_kuprobe_common()
271 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
A Dsampleip_user.c50 pmu_fd = sys_perf_event_open(&pe_sample_attr, -1 /* pid */, i, in sampling_start()
A Dtracex6_user.c38 pmu_fd = sys_perf_event_open(attr, -1/*pid*/, cpu/*cpu*/, -1/*group_fd*/, 0); in check_on_cpu()
/linux/tools/perf/tests/
A Dbp_signal_overflow.c101 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
A Dwp.c58 fd = sys_perf_event_open(&attr, 0, -1, -1, in __event()
A Dbp_account.c61 fd = sys_perf_event_open(attr, -1, 0, -1, in __event()
A Dbp_signal.c124 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event()
/linux/tools/lib/perf/
A Devsel.c76 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
154 fd = sys_perf_event_open(&evsel->attr, in perf_evsel__open()
/linux/tools/perf/Documentation/
A Dperf-intel-pt.txt290 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
291 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
292 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
293 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
792 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
793 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
794 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
808 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
809 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
810 sys_perf_event_open: pid -1 cpu 2 group_fd -1 flags 0x8
[all …]
/linux/tools/perf/arch/powerpc/util/
A Dperf_regs.c222 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
/linux/tools/perf/arch/x86/util/
A Dperf_regs.c295 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
/linux/tools/perf/bench/
A Dmem-functions.c73 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()
/linux/tools/perf/arch/s390/entry/syscalls/
A Dsyscall.tbl341 331 common perf_event_open sys_perf_event_open sys_perf_event_open
/linux/arch/s390/kernel/syscalls/
A Dsyscall.tbl341 331 common perf_event_open sys_perf_event_open sys_perf_event_open
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl303 292 n64 perf_event_open sys_perf_event_open
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl340 328 common perf_event_open sys_perf_event_open

Completed in 35 milliseconds

12