Extract the payload of epoll_wait/epoll_pwait
authorJulien Desfossez <jdesfossez@efficios.com>
Sat, 30 Apr 2016 15:09:30 +0000 (11:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 2 May 2016 16:51:52 +0000 (12:51 -0400)
commitf22697caff66036a134afa017980999caf02f938
tree2ef20fbf070d90aa4065ed5d38e597c8985389f6
parent45e0ded1ac1afc1be1b077fb8d741a8ec8897778
Extract the payload of epoll_wait/epoll_pwait

When epoll_wait returns, extract the content of the "events" field
(events set and data payload).

Here is an example output:
syscall_entry_epoll_wait: { epfd = 3, maxevents = 32, timeout = 100 }
syscall_exit_epoll_wait: { ret = 1, fds_length = 1,
  fds = [ [0] = { raw_events = 0x1,
    events = { EPOLLIN = 1, EPOLLPRI = 0, EPOLLOUT = 0, EPOLLERR = 0,
      padding = 0 },
    data_union = { u64 = 0x100000005, fd = 5 } } ]
}

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/syscalls_pointers_override.h
This page took 0.025521 seconds and 4 git commands to generate.