On Wed, Jun 28, 2017 at 09:40:01AM +0800, JingPiao Chen wrote: > * netlink_sock_diag.c: Include <linux/sock_diag.h>.
+(print_meminfo, decode_meminfo, decode_inet_diag_meminfo, +decode_tcpvegas_info, decode_tcp_dctcp_info, decode_tcp_bbr_info): +New functions. > (inet_diag_msg_nla_decoders): New array. > (decode_inet_diag_msg): Use it. > * linux/inet_diag.h (inet_diag_meminfo, tcpvegas_info, > tcp_dctcp_info, tcp_bbr_info): New structures. > * linux/sock_diag.h (SK_MEMINFO_VARS): New macro. Applied, thanks. I also applied v4.17-127-g4817a29 before this commit and v4.17-136-g1c2e012 on top of it. These changes reduce redundancy in printing structure field names and ensure that structure field names are printed properly. Please follow this approach when adding new diag decoders. -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel