gfio: add high/low priority latency results
[fio.git] / t / io_uring.c
index 62dee8058a5922b673a4e5c92c65add6735f4574..c2e5e0989ee9a4f84096f95def112b38e1b41153 100644 (file)
@@ -133,10 +133,12 @@ static int io_uring_enter(struct submitter *s, unsigned int to_submit,
                        min_complete, flags, NULL, 0);
 }
 
+#ifndef CONFIG_HAVE_GETTID
 static int gettid(void)
 {
        return syscall(__NR_gettid);
 }
+#endif
 
 static unsigned file_depth(struct submitter *s)
 {