commit | a92ba46c55f30deec326ed1a4e76f32222b4c62c | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Fri Sep 09 02:38:32 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Sep 09 02:38:32 2016 +0000 |
tree | 01965eee57f8df6dec622f7eeecc66b647f916ec | |
parent | f6c70f9f192d058f1f43921f570815146751cfac [diff] |
Mark io_setup and io_destroy as memory mapping related syscalls As io_setup syscall allocates some memory using do_mmap_pgoff, and io_destroy deallocates this memory using vm_munmap, set TRACE_MEMORY flag for all sysentries of io_setup and io_destroy using the following oneliner: sed -ri '/io_setup|io_destroy/ s/0,/TM,/' linux/*/syscallent*.h * linux/*/syscallent*.h (io_setup, io_destroy): Change sys_flags to TM.
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.