| 44 | } |
| 45 | |
| 46 | static int test_probe_helper(struct io_uring *ring) |
| 47 | { |
| 48 | int ret; |
| 49 | struct io_uring_probe *p; |
| 50 | |
| 51 | p = io_uring_get_probe_ring(ring); |
| 52 | if (!p) { |
| 53 | fprintf(stderr, "Failed getting probe data\n"); |
| 54 | return 1; |
| 55 | } |
| 56 | |
| 57 | ret = verify_probe(p, 1); |
| 58 | io_uring_free_probe(p); |
| 59 | return ret; |
| 60 | } |
| 61 | |
| 62 | static int test_probe(struct io_uring *ring) |
| 63 | { |
no test coverage detected