Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c187 int break_fd; in runtestsingle() local
201 break_fd = perf_process_event_open_exclude_user(readwriteflag, (__u64)ptr, in runtestsingle()
203 if (break_fd < 0) { in runtestsingle()
209 ioctl(break_fd, PERF_EVENT_IOC_ENABLE); in runtestsingle()
222 ioctl(break_fd, PERF_EVENT_IOC_DISABLE); in runtestsingle()
225 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtestsingle()
241 close(break_fd); in runtestsingle()
251 int break_fd; in runtest_dar_outside() local
263 break_fd = perf_process_event_open(HW_BREAKPOINT_RW, (__u64)(target + 2), 4); in runtest_dar_outside()
264 if (break_fd < 0) { in runtest_dar_outside()
[all …]