commit | 3a161d19021710dd8c746655c45eb97aeba93051 | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Mon Jul 18 16:25:25 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Tue Jul 19 17:46:33 2016 +0000 |
tree | 796093daa2f78de6bdb156e3dac0168bff719a54 | |
parent | 850523683d1d4fb36325fedb0b0f291eda720d98 [diff] |
Print unsent messages of sendmmsg syscall * defs.h (decode_mmsgvec): Add int argument. * mmsghdr.c (print_struct_mmsghdr_config): Add msg_len_vlen field. (print_struct_mmsghdr): Print struct mmsghdr.msg_len only for msg_len_vlen first elements of struct mmsghdr array. (decode_mmsgvec): Add msg_len_vlen argument. (SYS_FUNC(sendmmsg), SYS_FUNC(recvmmsg)): Pass to decode_mmsgvec the number of elements of struct mmsghdr array that contain meaningful struct mmsghdr.msg_len. * tests/mmsg_name.c (test_mmsg_name): Check it.
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.