Trace I/O operations (SQEs, recvmsg/sendmsg, uring_submit)

This commit is contained in:
Vitaliy Filippov
2020-06-09 00:52:29 +03:00
parent d56633843f
commit 735b97fe33
10 changed files with 78 additions and 1 deletions
+5
View File
@@ -241,6 +241,11 @@ void osd_t::set_fd_handler(int fd, std::function<void(int, int)> handler)
void osd_t::handle_epoll_events()
{
{
timespec now;
clock_gettime(CLOCK_REALTIME, &now);
printf("epoll %s %d %ld.%06ld\n", __FILE__, __LINE__, now.tv_sec, now.tv_nsec/1000);
}
io_uring_sqe *sqe = ringloop->get_sqe();
if (!sqe)
{