Re: ktrace pipe2

From: Mark Johnston <markj_at_freebsd.org>
Date: Mon, 21 Jul 2025 13:01:56 UTC
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.