]> sourceware.org Git - systemtap.git/commit
testsuite traceaio.c
authorNir Soffer <nsoffer@redhat.com>
Wed, 29 Sep 2021 19:31:13 +0000 (15:31 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 29 Sep 2021 19:31:13 +0000 (15:31 -0400)
commitcbb34b7244ba60cb0904d61dc9167290855106aa
tree8cb83f1062994090ae7df1ed8cec9dd31770a792
parent357968f8b57333ac423d2b589a7fbc30523d0836
testsuite traceaio.c

Add simple test program calling io_submit() with several iocbs, testing
handling or PWRITE, PREAD, PWRITEV, and PREADV.

The test can be run manually by compiling the program, running it with
"stap -c", and inspecting the generated trace.

With more work, this can be used in "make installcheck", and verified
using expected output file.

Signed-off-by: Nir Soffer <nsoffer@redhat.com>
testsuite/systemtap.examples/io/traceaio.c [new file with mode: 0644]
This page took 0.026302 seconds and 5 git commands to generate.