/openbmc/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | perf-hwbreak.c | 134 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 D | remove_on_exec.c | 107 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 D | sigtrap_threads.c | 168 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 D | bp_signal.c | 245 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 D | bp_signal_overflow.c | 113 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal_overflow()
|
H A D | wp.c | 180 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__wp_modify()
|
H A D | sigtrap.c | 155 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 D | multi_counter_test.c | 53 FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); in multi_counter()
|
H A D | ebb.c | 282 rc = ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in ebb_event_enable()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | task_fd_query_tp.c | 47 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in test_task_fd_query_tp_core()
|
H A D | tp_attach_query.c | 66 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_ENABLE, 0); in serial_test_tp_attach_query()
|
/openbmc/linux/tools/lib/perf/ |
H A D | evsel.c | 444 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 D | get_cgroup_id_user.c | 119 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in main()
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 107 return ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in event_enable()
|
/openbmc/linux/samples/bpf/ |
H A D | tracex6_user.c | 44 assert(ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0) == 0); in check_on_cpu()
|
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | cache.c | 35 ioctl(fd_lm, PERF_EVENT_IOC_ENABLE, 0); in ioctl_perf_event_ioc_reset_enable()
|
H A D | resctrl_val.c | 86 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 D | breakpoint.c | 234 if (ioctl(fd, PERF_EVENT_IOC_ENABLE, 0)) in bench_breakpoint_enable()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | perf_event.h | 547 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | perf_event.h | 547 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | utils.c | 564 if (ioctl(fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP) == -1) { in perf_event_enable()
|
/openbmc/linux/tools/perf/ |
H A D | design.txt | 422 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | prog.c | 2289 ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0)) { in profile_open_perf_event()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.c | 10170 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 D | core.c | 5912 case PERF_EVENT_IOC_ENABLE: in _perf_ioctl()
|