Home
last modified time | relevance | path

Searched refs:PERF_EVENT_IOC_DISABLE (Results 1 – 20 of 20) sorted by relevance

/linux/tools/perf/tests/
H A Dbp_signal.c76 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2()
77 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2()
78 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler_2()
97 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in sig_handler()
98 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in sig_handler()
99 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in sig_handler()
256 ioctl(fd1, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal()
257 ioctl(fd2, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal()
258 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal()
H A Dbp_signal_overflow.c119 ioctl(fd, PERF_EVENT_IOC_DISABLE, 0); in test__bp_signal_overflow()
H A Dsigtrap.c209 TEST_ASSERT_EQUAL("disable failed", ioctl(fd, PERF_EVENT_IOC_DISABLE, 0), 0); in run_stress_test()
/linux/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c142 ioctl(fd[i], PERF_EVENT_IOC_DISABLE); in disable_fds()
268 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtestsingle()
321 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtest_dar_outside()
336 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtest_dar_outside()
351 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtest_dar_outside()
366 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtest_dar_outside()
381 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtest_dar_outside()
428 ioctl(fd1, PERF_EVENT_IOC_DISABLE); in test_process_multi_diff_addr()
429 ioctl(fd2, PERF_EVENT_IOC_DISABLE); in test_process_multi_diff_addr()
473 ioctl(fd1, PERF_EVENT_IOC_DISABLE); in test_process_multi_same_addr()
[all …]
/linux/tools/testing/selftests/x86/
H A Dsrso.c59 ioctl(rrets_fd, PERF_EVENT_IOC_DISABLE, 0); in main()
60 ioctl(mrrets_fd, PERF_EVENT_IOC_DISABLE, 0); in main()
/linux/tools/testing/selftests/perf_events/
H A Dsigtrap_threads.c208 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_DISABLE, 0), 0); in TEST_F()
227 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_DISABLE, 0), 0); in TEST_F()
233 EXPECT_EQ(ioctl(self->fd, PERF_EVENT_IOC_DISABLE, 0), 0); in TEST_F()
/linux/tools/testing/selftests/resctrl/
H A Dcache.c141 ret = ioctl(pe_fd, PERF_EVENT_IOC_DISABLE, 0); in perf_event_measure()
H A Dresctrl_val.c72 ioctl(imc_counters_config[i][j].fd, PERF_EVENT_IOC_DISABLE, 0); in membw_ioctl_perf_event_ioc_disable()
/linux/tools/testing/selftests/powerpc/pmu/
H A Devent.c112 return ioctl(e->fd, PERF_EVENT_IOC_DISABLE); in event_disable()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtp_attach_query.c134 ioctl(pmu_fd[i], PERF_EVENT_IOC_DISABLE); in serial_test_tp_attach_query()
/linux/samples/bpf/
H A Dtracex6_user.c67 assert(ioctl(pmu_fd, PERF_EVENT_IOC_DISABLE, 0) == 0 || error); in check_on_cpu()
/linux/tools/lib/perf/
H A Devsel.c474 return perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_DISABLE, NULL, cpu_map_idx); in perf_evsel__disable_cpu()
483 err = perf_evsel__run_ioctl(evsel, PERF_EVENT_IOC_DISABLE, NULL, i); in perf_evsel__disable()
/linux/tools/perf/bench/
H A Dbreakpoint.c232 if (ioctl(fd, PERF_EVENT_IOC_DISABLE, 0)) in bench_breakpoint_enable()
/linux/include/uapi/linux/
H A Dperf_event.h552 #define PERF_EVENT_IOC_DISABLE _IO ('$', 1) macro
/linux/tools/include/uapi/linux/
H A Dperf_event.h552 #define PERF_EVENT_IOC_DISABLE _IO ('$', 1) macro
/linux/tools/testing/selftests/powerpc/
H A Dutils.c574 if (ioctl(fd, PERF_EVENT_IOC_DISABLE, PERF_IOC_FLAG_GROUP) == -1) { in perf_event_disable()
/linux/tools/perf/
H A Ddesign.txt426 ioctl(fd, PERF_EVENT_IOC_DISABLE, 0);
/linux/tools/lib/bpf/
H A Dlibbpf.c10723 if (ioctl(perf_link->perf_event_fd, PERF_EVENT_IOC_DISABLE, 0) < 0) in bpf_link_perf_detach()
13116 ioctl(cpu_buf->fd, PERF_EVENT_IOC_DISABLE, 0); in perf_buffer__free_cpu_buf()
/linux/tools/perf/Documentation/
H A Dperf-intel-pt.txt732 namely PERF_EVENT_IOC_DISABLE. However doing that can also disable the
/linux/kernel/events/
H A Dcore.c6030 case PERF_EVENT_IOC_DISABLE: in _perf_ioctl()