Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c134 ioctl(fd[i], PERF_EVENT_IOC_ENABLE); in enable_fds()
255 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtestsingle()
425 ioctl(fd1, PERF_EVENT_IOC_ENABLE); in test_process_multi_diff_addr()
426 ioctl(fd2, PERF_EVENT_IOC_ENABLE); in test_process_multi_diff_addr()
470 ioctl(fd1, PERF_EVENT_IOC_ENABLE); in test_process_multi_same_addr()
471 ioctl(fd2, PERF_EVENT_IOC_ENABLE); in test_process_multi_same_addr()
515 ioctl(fd1, PERF_EVENT_IOC_ENABLE); in test_process_multi_diff_addr_ro_wo()
516 ioctl(fd2, PERF_EVENT_IOC_ENABLE); in test_process_multi_diff_addr_ro_wo()
560 ioctl(fd1, PERF_EVENT_IOC_ENABLE); in test_process_multi_same_addr_ro_wo()
561 ioctl(fd2, PERF_EVENT_IOC_ENABLE); in test_process_multi_same_addr_ro_wo()
[all …]
/openbmc/linux/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c107 ASSERT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
154 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
177 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
212 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
H A Dsigtrap_threads.c168 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
206 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
224 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
228 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_ENABLE, 0), 0); in TEST_F()
/openbmc/linux/tools/perf/tests/
H A Dbp_signal.c245 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
246 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
247 ioctl(fd3, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
H A Dbp_signal_overflow.c113 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal_overflow()
H A Dwp.c180 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__wp_modify()
H A Dsigtrap.c155 TEST_ASSERT_EQUAL("enable failed", ioctl(fd, PERF_EVENT_IOC_ENABLE, 0), 0); in run_stress_test()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Dmulti_counter_test.c53 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); in multi_counter()
H A Debb.c282 rc = ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in ebb_event_enable()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtask_fd_query_tp.c47 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in test_task_fd_query_tp_core()
H A Dtp_attach_query.c66 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_ENABLE, 0); in serial_test_tp_attach_query()
/openbmc/linux/tools/lib/perf/
H A Devsel.c444 return perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_ENABLE, NULL, cpu_map_idx); in perf_evsel__enable_cpu()
454 err = perf_evsel__ioctl(evsel, PERF_EVENT_IOC_ENABLE, NULL, idx, thread); in perf_evsel__enable_thread()
468 err = perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_ENABLE, NULL, i); in perf_evsel__enable()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c119 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in main()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/
H A Devent.c107 return ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in event_enable()
/openbmc/linux/samples/bpf/
H A Dtracex6_user.c44 assert(ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0) == 0); in check_on_cpu()
/openbmc/linux/tools/testing/selftests/resctrl/
H A Dcache.c35 ioctl(fd_lm, PERF_EVENT_IOC_ENABLE, 0); in ioctl_perf_event_ioc_reset_enable()
H A Dresctrl_val.c86 ioctl(imc_counters_config[i][j].fd, PERF_EVENT_IOC_ENABLE, 0); in membw_ioctl_perf_event_ioc_reset_enable()
/openbmc/linux/tools/perf/bench/
H A Dbreakpoint.c234 if (ioctl(fd, PERF_EVENT_IOC_ENABLE, 0)) in bench_breakpoint_enable()
/openbmc/linux/tools/include/uapi/linux/
H A Dperf_event.h547 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h547 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/openbmc/linux/tools/testing/selftests/powerpc/
H A Dutils.c564 if (ioctl(fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP) == -1) { in perf_event_enable()
/openbmc/linux/tools/perf/
H A Ddesign.txt422 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);
/openbmc/linux/tools/bpf/bpftool/
H A Dprog.c2289 ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0)) { in profile_open_perf_event()
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf.c10170 if (ioctl(pfd, PERF_EVENT_IOC_ENABLE, 0) < 0) { in bpf_program__attach_perf_event_opts()
12412 if (ioctl(cpu_buf->fd, PERF_EVENT_IOC_ENABLE, 0) < 0) { in perf_buffer__open_cpu_buf()
/openbmc/linux/kernel/events/
H A Dcore.c5912 case PERF_EVENT_IOC_ENABLE: in _perf_ioctl()