I find useful to add one more trace class: file descriptors. It could be defined as set of syscalls which take a file descriptor as an argument or return a file descriptor, except network related syscalls (since all of them either take a file descriptor as an argument or return a file descriptor anyway).
Created attachment 115083 [details] strace-4.5.11-alt-TD.patch Proposed patch, to be applied on top of strace-4.5.11-alt-TF.patch
Created attachment 115215 [details] strace-20050607-alt-TD.patch Rediffed for cvs snapshot 20050607.
Created attachment 115216 [details] strace-20050607-alt-TD.patch Rediffed for cvs snapshot 20050607.
Applied upstream. Thanks for the patch.