This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

relate io_submit to io_getevents


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

Attachment: disclaimer.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]