[PATCH v1] Add %open trace class.

Kossi Glokpor hotkatz32 at gmail.com
Mon Apr 3 18:03:36 UTC 2023


It makes sense to me to include socket(2) but there are some syscalls
(like dup(2)) that return file descriptors but are not used to open a
file/socket. Do you think that I should include all of them ?

Kossi

On Mon, Apr 3, 2023 at 5:20 PM Eugene Syromyatnikov <evgsyr at gmail.com> wrote:
>
> On Mon, Apr 3, 2023 at 5:55 AM glk0 <hotkatz32 at gmail.com> wrote:
> >
> > The %open class includes syscalls syscalls used to open files: open,
> > openat, openat2 and open_by_handle_at.
>
> What about socket(2) and many other syscalls that have RVAL_FD in
> their decoder return code?
>
> --
> Eugene Syromyatnikov
> mailto:evgsyr at gmail.com
> xmpp:esyr at jabber.{ru|org}


More information about the Strace-devel mailing list