Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c114 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtestsingle()
188 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtest_dar_outside()
203 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtest_dar_outside()
218 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtest_dar_outside()
233 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtest_dar_outside()
248 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtest_dar_outside()
/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dbp_signal.c240 ioctl(fd1, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
241 ioctl(fd2, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
242 ioctl(fd3, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal()
H A Dbp_signal_overflow.c108 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in test__bp_signal_overflow()
H A Dwp.c151 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0); in wp_modify_test()
/OK3568_Linux_fs/kernel/tools/lib/perf/
H A Devsel.c219 return perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_ENABLE, NULL, cpu); in perf_evsel__enable_cpu()
228 err = perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_ENABLE, NULL, i); in perf_evsel__enable()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtask_fd_query_user.c154 CHECK_PERROR_RET(ioctl(fd, PERF_EVENT_IOC_ENABLE, 0) < 0); in test_nondebug_fs_kuprobe_common()
260 CHECK_PERROR_RET(ioctl(kfd, PERF_EVENT_IOC_ENABLE, 0) < 0); in test_debug_fs_uprobe()
H A Dtracex6_user.c45 assert(ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0) == 0); in check_on_cpu()
H A Dbpf_load.c249 err = ioctl(efd, PERF_EVENT_IOC_ENABLE, 0); in load_and_attach()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dtask_fd_query_tp.c42 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in test_task_fd_query_tp_core()
H A Dtp_attach_query.c60 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_ENABLE, 0); in test_tp_attach_query()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/pmu/
H A Devent.c90 return ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in event_enable()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dget_cgroup_id_user.c107 err = ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0); in main()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/
H A Dutils.c247 if (ioctl(fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP) == -1) { in perf_event_enable()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dperf_event.h465 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dperf_event.h453 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dperf_event.h453 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dperf_event.h465 #define PERF_EVENT_IOC_ENABLE _IO ('$', 0) macro
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Devlist.c465 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_cpu()
483 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0); in perf_evlist__enable_event_thread()
/OK3568_Linux_fs/kernel/tools/perf/
H A Ddesign.txt419 ioctl(fd, PERF_EVENT_IOC_ENABLE, 0);
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dprog.c1942 ioctl(pmu_fd, PERF_EVENT_IOC_ENABLE, 0)) { in profile_open_perf_events()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c9322 if (ioctl(pfd, PERF_EVENT_IOC_ENABLE, 0) < 0) { in bpf_program__attach_perf_event()
10059 if (ioctl(cpu_buf->fd, PERF_EVENT_IOC_ENABLE, 0) < 0) { in perf_buffer__open_cpu_buf()

12