commit | 2a54d8b2572ad7aab1fa0f0dfd95963d573c1b48 | [log] [tgz] |
---|---|---|
author | Fabien Siron <fabien.siron@epita.fr> | Wed Jun 22 13:27:03 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Wed Jun 22 14:40:57 2016 +0000 |
tree | 6a62ce06af7ff8869f5c7543c502f4b30e0ac046 | |
parent | 64906b8f0a88bdac7c9e38c96f15543afde7d814 [diff] |
Add a enum for decoding to tprint_iov() and tprint_iov_upto() Introduce a new type iov_decode which will be used instead of the integer "decode" as a parameter. * defs.h (iov_decode): New enum. (tprint_iov, tprint_iov_upto): Change type of "decode_iov" to enum iov_decode. * aio.c (print_iocb): Change type of "decode_iov" to enum iov_decode in tprint_iov() call. * keyctl.c (keyctl_instantiate_key_iov): Likewise. * process.c (ptrace): Likewise. * process_vm.c (process_vm_readv, process_vm_writev): Likewise. * io.c (writev, do_pwritev, vmsplice): Likewise. (print_iovec): Replace the condition with a switch. (tprint_iov_upto): Change type of "decode_iov" to enum iov_decode. (readv, do_preadv): Change type of "decode_iov" to enum iov_decode in tprint_iov_upto() call. * scsi.c (print_sg_io_v3_req, print_sg_io_v3_res, print_sg_io_v4_req, print_sg_io_v4_res): Likewise. * net.c (do_msghdr): Adapt call of tprint_iov_upto().
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.