relate io_submit to io_getevents

Sloot, Hans-Peter hans-peter.sloot@atosorigin.com
Wed Jan 12 11:46:00 GMT 2011


Hello all,

In order to be able to measure the IO write times of asynchronous and
direct io's of a certain process
I have to relate the io_submit to the io_getevents.
(Or at least I guess that the IO starts when the io_submit starts and it
completes when the io_getevents 
 returns.

It seems that parameter 1 is the same for related calls.

io_submit(47052561891328, 1, {{0x2acb475edfe0, 0, 1, 0, 34}}) = 1
gettimeofday({1294832202, 259883}, NULL) = 0
io_getevents(47052561891328, 1, 128, {{0x2acb475edfe0, 0x2acb475edfe0,
8192, 0}}, {600, 0}) = 1

Is there a way that I can read parameter #1 so that I can relate them?

Regards Hans-Peter
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: disclaimer.txt
URL: <http://sourceware.org/pipermail/systemtap/attachments/20110112/1e30a776/attachment.txt>


More information about the Systemtap mailing list