Re: ktrace pipe2
Mark Johnston <[email protected]>
| Newsgroups | gmane.os.freebsd.architechture |
|---|---|
| Message-ID | <aH46RKQdE5UrVwu4@nuc> |
On Sat, Jul 19, 2025 at 02:23:28PM +0300, Andriy Gapon wrote: > > What would be the best / proper way to make ktrace report file descriptors > of a pipe crated with pipe2(2) ? > Can ktrstructarray() be used for that? I think it can. I don't see any better options, at least. We could add a fdarray record type, but I don't see much advantage to that. If you plan to add a tracepoint to pipe2(), it'd be nice to add one to socketpair() as well.