/openbmc/linux/tools/perf/util/ |
H A D | perf_api_probe.c | 32 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, flags); in perf_do_probe_api() 46 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, flags); in perf_do_probe_api() 150 fd = sys_perf_event_open(&attr, -1, cpu.cpu, -1, 0); in perf_can_record_cpu_wide() 175 fd = sys_perf_event_open(&attr, -1, 0, -1, 0); in perf_can_aux_sample()
|
H A D | cloexec.c | 40 fd = sys_perf_event_open(&attr, pid, cpu, -1, in perf_flag_probe() 61 fd = sys_perf_event_open(&attr, pid, cpu, -1, 0); in perf_flag_probe()
|
H A D | record.c | 252 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, in evlist__can_select_event()
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | intel-cqm.c | 84 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()
|
H A D | amd-ibs-via-core-pmu.c | 37 return sys_perf_event_open(&attr, -1, 0, -1, 0); in event_open()
|
/openbmc/linux/tools/perf/ |
H A D | perf-sys.h | 13 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function
|
H A D | design.txt | 21 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
|
/openbmc/linux/tools/perf/tests/attr/ |
H A D | README | 5 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
|
/openbmc/linux/tools/perf/tests/ |
H A D | sigtrap.c | 104 fd = sys_perf_event_open(&attr, 0, -1, -1, perf_event_open_cloexec_flag()); in attr_has_sigtrap() 197 fd = sys_perf_event_open(&attr, 0, -1, -1, perf_event_open_cloexec_flag()); in test__sigtrap()
|
H A D | bp_signal_overflow.c | 101 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
|
H A D | event_groups.c | 48 return sys_perf_event_open(&attr, -1, 0, group_fd, 0); in event_open()
|
H A D | bp_account.c | 61 fd = sys_perf_event_open(attr, -1, 0, -1, in __event()
|
H A D | wp.c | 60 fd = sys_perf_event_open(&attr, 0, -1, -1, in __event()
|
H A D | bp_signal.c | 124 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event()
|
/openbmc/linux/samples/bpf/ |
H A D | trace_event_user.c | 153 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()
|
H A D | task_fd_query_user.c | 155 fd = sys_perf_event_open(&attr, -1, 0, -1, 0); in test_nondebug_fs_kuprobe_common() 270 kfd = sys_perf_event_open(&attr, -1, 0, -1, PERF_FLAG_FD_CLOEXEC); in test_debug_fs_uprobe()
|
H A D | sampleip_user.c | 50 pmu_fd = sys_perf_event_open(&pe_sample_attr, -1 /* pid */, i, in sampling_start()
|
H A D | tracex6_user.c | 37 pmu_fd = sys_perf_event_open(attr, -1/*pid*/, cpu/*cpu*/, -1/*group_fd*/, 0); in check_on_cpu()
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | perf_regs.c | 170 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__user_reg_mask()
|
/openbmc/linux/tools/lib/perf/ |
H A D | evsel.c | 80 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open() function 161 fd = sys_perf_event_open(&evsel->attr, in perf_evsel__open()
|
/openbmc/linux/tools/perf/arch/powerpc/util/ |
H A D | perf_regs.c | 223 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
|
/openbmc/linux/Documentation/arch/arm64/ |
H A D | perf.rst | 123 attr bit set: the sys_perf_event_open syscall returns a fd which can 154 counter along with userspace access. The sys_perf_event_open syscall will fail
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 313 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
|
/openbmc/linux/tools/perf/Documentation/ |
H A D | perf-intel-pt.txt | 300 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 301 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 302 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 303 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8 828 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 829 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 830 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 844 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8 845 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8 846 sys_perf_event_open: pid -1 cpu 2 group_fd -1 flags 0x8 [all …]
|
/openbmc/linux/tools/perf/bench/ |
H A D | mem-functions.c | 73 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()
|