Home
last modified time | relevance | path

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

123

/linux-6.12.1/tools/perf/util/
Dperf_api_probe.c32 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()
Dcloexec.c40 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()
Drecord.c252 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu.cpu, -1, in evlist__can_select_event()
/linux-6.12.1/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()
Damd-ibs-via-core-pmu.c37 return sys_perf_event_open(&attr, -1, 0, -1, 0); in event_open()
/linux-6.12.1/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-6.12.1/tools/perf/
Dperf-sys.h13 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:
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-6.12.1/tools/perf/tests/
Dsigtrap.c147 fd = sys_perf_event_open(&attr, 0, -1, -1, perf_event_open_cloexec_flag()); in attr_has_sigtrap()
258 fd = sys_perf_event_open(&attr, 0, -1, -1, perf_event_open_cloexec_flag()); in test__sigtrap()
Dbp_signal_overflow.c102 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
Devent_groups.c48 return sys_perf_event_open(&attr, -1, 0, group_fd, 0); in event_open()
Dbp_account.c62 fd = sys_perf_event_open(attr, -1, 0, -1, in __event()
Dbp_signal.c125 fd = sys_perf_event_open(&pe, 0, -1, -1, in __event()
Dwp.c65 fd = sys_perf_event_open(&attr, 0, -1, -1, in __event()
/linux-6.12.1/samples/bpf/
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()
Dtask_fd_query_user.c155 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()
Dsampleip_user.c50 pmu_fd = sys_perf_event_open(&pe_sample_attr, -1 /* pid */, i, in sampling_start()
Dtracex6_user.c37 pmu_fd = sys_perf_event_open(attr, -1/*pid*/, cpu/*cpu*/, -1/*group_fd*/, 0); in check_on_cpu()
/linux-6.12.1/tools/perf/arch/arm64/util/
Dperf_regs.c170 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__user_reg_mask()
/linux-6.12.1/tools/lib/perf/
Devsel.c80 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()
/linux-6.12.1/tools/perf/arch/powerpc/util/
Dperf_regs.c223 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
/linux-6.12.1/Documentation/arch/arm64/
Dperf.rst123 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
/linux-6.12.1/tools/perf/arch/x86/util/
Dperf_regs.c318 fd = sys_perf_event_open(&attr, 0, -1, -1, 0); in arch__intr_reg_mask()
/linux-6.12.1/tools/perf/Documentation/
Dperf-intel-pt.txt304 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
305 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
306 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
307 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
832 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
833 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
834 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
835 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
848 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
849 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
[all …]
/linux-6.12.1/tools/perf/bench/
Dmem-functions.c73 cycles_fd = sys_perf_event_open(&cycle_attr, getpid(), -1, -1, perf_event_open_cloexec_flag()); in init_cycles()

123