Re: ktrace pipe2
- In reply to: Andriy Gapon : "ktrace pipe2"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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.