Lines Matching defs:fd3
34 static int fd3;
77 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0);
98 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0);
201 * fd3 - watchpoint event on __test_function with SIGIO
214 * incq (%rdi) - fd3 event watchpoint hit -> count3 == 1 (wp and bp in one insn)
222 * the_var++ - fd3 event watchpoint hit -> count3 == 2 (standalone watchpoint)
243 fd3 = wp_event((void *)&the_var, SIGIO);
247 ioctl(fd3, PERF_EVENT_IOC_ENABLE, 0);
257 ioctl(fd3, PERF_EVENT_IOC_DISABLE, 0);
261 count3 = bp_count(fd3);
265 close(fd3);