Strace not showing all system calls

Dmitry V. Levin ldv at altlinux.org
Sat Jan 12 19:00:40 UTC 2013


On Wed, Jan 09, 2013 at 11:31:57AM +0100, Frits Hoogland wrote:
> Hello list, I hope you can help me with an observation I've made with strace on Oracle Linux 6.3 (latest) X64.
> When I strace a process, I only see successful io_getevents() calls, not non-successful io_getevents() calls with a timeout set to 0s.

strace starts to decode io_getevents at the enter of syscall, it prints
first three arguments right away, so it would be too late to decide
whether to print io_getevents or not depending on its return value.

The question is, how do you know there are unsuccessful io_getevents()
calls if strace doesn't show them?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130112/ff3e9a82/attachment.bin>


More information about the Strace-devel mailing list