[PATCH v5] Print ip and port associated with descriptor with -yy

Zubin Mithra zubin.mithra at gmail.com
Tue Aug 26 16:30:10 UTC 2014

>> Hi Dmitry,
>>> Actually, it is quite linux specific: SOCK_DIAG_BY_FAMILY needs tcp_diag
>>> kernel module to handle IPPROTO_TCP, and udp_diag - for IPPROTO_UDP
>>> sockets.
>> I’m not sure I understand the problem here — could you tell me which kernel version you had used so that I could try compiling that kernel here at my end?
> The problem, if you call this situation a problem, is that
> SOCK_DIAG_BY_FAMILY is usually implemented by tcp_diag and udp_diag kernel
> modules, and when these modules are not loaded and automatic loading is
> not enabled (as it happened in my case), strace -yy feature won't work.

I see, should we document this somewhere?(Readme-hacking?)

-- zm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140826/d0c18511/attachment.bin>

More information about the Strace-devel mailing list