commit | bcf5975a3e0b9a3c72e4aced11cdc376cc970302 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Wed Feb 10 17:39:57 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Feb 11 03:06:17 2016 +0000 |
tree | d663df01a0a23c4cf84fa4b676e7a408ae6ec69a | |
parent | 6204654329df64101f3e6c2ea8815eb36550ec2e [diff] |
print_sockaddr_by_inode: cleanup protocol lookup * socketutils.c (tcp_v4_print, udp_v4_print, tcp_v6_print, udp_v6_print): New functions. (print_sockaddr_by_inode): Make "protocols" array static, replace "family" and "protocol" members with "print" in its underlying structure. Iterate through protocols array when the protocol name is specified.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.