[PATCH v2 2/7] Add a general netlink socket parser
Dmitry V. Levin
ldv at altlinux.org
Wed Jun 15 09:13:06 UTC 2016
On Wed, Jun 15, 2016 at 09:09:19AM +0000, Fabien Siron wrote:
> Quoting Dmitry V. Levin (2016-06-14 12:00:30)
> > On Mon, Jun 13, 2016 at 02:37:22PM +0000, Fabien Siron wrote:
> > > +static void
> > > +printsockbuf(struct tcb *tcp, int fd, long addr, long addrlen)
> > > +{
> > > + int proto = getfdproto(tcp, fd);
> >
> > This operation costs a few syscalls so it shouldn't be attempted
> > unless show_fd_path > 1.
>
> Do you actually mean that the netlink parser with sendto and recvfrom will
> be available only with show_fd_path > 1 (so with the -yy option)?
What's the alternative?
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160615/fa7ee570/attachment.bin>
More information about the Strace-devel
mailing list