MCPcopy Create free account
hub / github.com/axboe/liburing / test_probe_helper

Function test_probe_helper

test/probe.c:46–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46static 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
62static int test_probe(struct io_uring *ring)
63{

Callers 1

mainFunction · 0.85

Calls 3

io_uring_get_probe_ringFunction · 0.85
verify_probeFunction · 0.85
io_uring_free_probeFunction · 0.85

Tested by

no test coverage detected