Go to file
Fei Jie 93faa4cc88 tests: add swap.test
* tests/swap.c: New file.
* tests/swap.test: New test.
* tests/.gitignore: Add swap.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add swap.test.
2016-04-06 06:18:50 +00:00
debian packages/x86_64: enable experimental -k option 2015-12-23 04:36:10 +00:00
linux avr32: wire up copy_file_range syscall 2016-03-29 00:01:07 +00:00
m4 Add configure --enable-code-coverage option 2016-02-04 03:36:11 +00:00
maint maint: update for linux 4.5 2016-03-26 23:37:18 +00:00
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 2015-03-24 20:54:26 +01:00
test test: remove fork.c and vfork.c 2015-12-30 23:28:35 +00:00
tests tests: add swap.test 2016-04-06 06:18:50 +00:00
xlat Add default values for SYNC_FILE_RANGE_* constants 2016-04-05 23:30:05 +00:00
.gitignore Add configure --enable-code-coverage option 2016-02-04 03:36:11 +00:00
.mailmap .mailmap: add addresses of Kirill A. Shutemov 2015-12-20 00:25:10 +00:00
.travis.yml travis-ci: prepare and submit test coverage report 2016-02-04 17:04:13 +00:00
access.c access.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
affinity.c Fix and enhance decoding of sched_[gs]etaffinity syscalls 2016-01-07 02:11:55 +00:00
aio.c Add helper functions to clear/restore syserror 2015-09-19 04:04:49 +03:00
alpha.c alpha: enhance decoding of getxpid, getxuid, and getxgid syscalls 2016-01-09 00:09:04 +00:00
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 2002-12-30 00:51:30 +00:00
bjm.c Remove parser of query_module syscall 2015-11-24 02:30:45 +00:00
block.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
bootstrap tests: enable strace-k.test only for --with-libunwind configurations 2016-01-01 23:09:02 +00:00
bpf.c Implement bpf syscall decoding 2015-07-27 15:27:43 +00:00
build_static_example.sh Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
cacheflush.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
capability.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
caps0.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
caps1.h Move CAP_* definitions out to header files 2015-02-19 00:33:39 +00:00
ChangeLog-CVS Generate ChangeLog from git log 2009-07-08 21:01:21 +00:00
chdir.c chdir.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
chmod.c chmod.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
clone.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
configure.ac tests: add sync_file_range.test and sync_file_range2.test 2016-04-06 00:02:08 +00:00
copy_file_range.c Implement copy_file_range syscall decoding 2016-02-14 00:36:38 +00:00
COPYING Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
count.c Refer to -h on incorrect usage 2015-11-27 02:38:59 +03:00
CREDITS.in CREDITS.in: add Jian Zhen 2015-11-25 19:10:56 +00:00
defs.h Add sentinel attribute to printxvals 2016-04-01 00:52:01 +00:00
desc.c alpha: alias getdtablesize to printargs 2016-01-08 18:53:27 +00:00
dirent64.c Mpersify parsers of readdir and getdents syscalls 2015-11-19 22:49:58 +00:00
dirent.c Replace %Ld/%Lu printf format specifiers with %lld/%llu 2015-12-16 00:07:16 +00:00
empty.h Add mpers support 2015-08-28 08:46:23 +00:00
epoll.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
errnoent.sh Change errnoent.h files to use designated initializers 2015-02-23 13:29:17 +00:00
evdev.c Use printpair_int 2015-07-09 01:43:44 +00:00
eventfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
execve.c Fix decoding of execve and execveat syscalls with invalid input 2016-02-08 18:21:31 +00:00
exit.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
fadvise.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
fallocate.c fallocate.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fanotify.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
fchownat.c fchownat.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
fcntl.c Replace %Ld/%Lu printf format specifiers with %lld/%llu 2015-12-16 00:07:16 +00:00
fetch_seccomp_fprog.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
fetch_struct_flock.c Convert parsers of flock structures to new mpers infrastructure 2015-11-26 01:37:34 +00:00
file_handle.c Implement name_to_handle_at and open_by_handle_at syscalls decoding 2015-11-22 23:21:35 +00:00
file.c aarch64: swap 64-bit and 32-bit personalities 2015-12-09 01:09:11 +00:00
flock.c desc.c: move parser of flock syscall to a separate file 2015-10-08 22:41:54 +00:00
flock.h Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
futex.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
gcc_compat.h Add sentinel attribute to printxvals 2016-04-01 00:52:01 +00:00
generate_mpers_am.sh mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
generate_sen.sh Add unique syscall entry numbers (SENs) 2015-07-12 22:31:49 +00:00
generate_xlat_in.sh Generate xlat/*.in files 2014-05-30 21:40:03 +00:00
get_robust_list.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
getcpu.c getcpu.c: use printnum_int and printaddr 2015-07-20 22:03:07 +00:00
getcwd.c getcwd.c: use printaddr 2015-07-20 22:03:07 +00:00
getrandom.c getrandom.c: use printaddr 2015-07-20 22:03:07 +00:00
git-set-file-times Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
git-version-gen Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
gitlog-to-changelog Update auxiliary maintainer mode build tools 2015-01-21 21:17:08 +00:00
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 2015-01-22 00:27:38 +00:00
hostname.c hostname.c: make use of RVAL_DECODED 2015-07-20 22:03:07 +00:00
inotify.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
INSTALL Remove and update documentation 2012-02-25 15:29:21 +01:00
io.c Fix printing of negative offsets in pread64 and pwrite64 syscalls 2016-04-02 01:08:24 +00:00
ioctl.c ioctl: allow to stop decoding number 2015-12-04 18:05:38 +00:00
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 2015-03-28 22:37:30 +00:00
ioperm.c Implement ioperm syscall decoding 2015-11-22 23:10:12 +00:00
iopl.c Implement iopl syscall decoding 2015-11-22 23:10:12 +00:00
ioprio.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
ipc_defs.h Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msg.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_msgctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_sem.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_shm.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
ipc_shmctl.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
kcmp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
kernel_types.h Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
kexec.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
keyctl.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
ldt.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
link.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
lookup_dcookie.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
loop.c loop.c: enhance loop ioctl parser 2015-07-09 02:04:34 +00:00
lseek.c Print offsets in lseek and _llseek syscalls as signed integers 2016-02-16 01:35:36 +00:00
make-dist Use bootstrap script consistently 2014-05-30 21:31:08 +00:00
Makefile.am Implement copy_file_range syscall decoding 2016-02-14 00:36:38 +00:00
mem.c Consistently handle unsigned arguments of mmap* and remap_file_pages 2016-04-01 15:31:23 +00:00
membarrier.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
memfd_create.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mknod.c Fix decoding of device numbers in mknod and mknodat syscalls 2016-03-25 23:48:48 +00:00
mount.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mpers_test.sh Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mpers_type.h Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mpers.awk mpers.awk: add support for DWARF files generated by clang 2016-01-13 02:38:59 +00:00
mpers.sh Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
mq.c Convert parser of struct timespec to new mpers infrastructure 2015-09-19 04:04:49 +03:00
mtd.c Fix build on systems that lack UBI_IOCVOLCRBLK/UBI_IOCVOLRMBLK definitions 2015-08-25 21:48:36 +00:00
native_defs.h Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
net.c Replace PF_* constants with AF_* 2016-04-04 01:35:28 +00:00
NEWS Implement dumping of preadv and pwritev syscalls 2016-03-31 00:01:58 +00:00
open.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
or1k_atomic.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
pathtrace.c Implement copy_file_range syscall decoding 2016-02-14 00:36:38 +00:00
perf.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
personality.c Handle unlikely errors from personality syscall 2015-12-27 00:18:35 +00:00
poll.c Fix abbreviated output of poll and ppoll decoders 2016-02-16 01:35:36 +00:00
prctl.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
print_mq_attr.c Support C libraries without System V shared memory/ipc 2015-11-26 01:36:58 +00:00
print_msgbuf.c Mpersify tprint_msgsnd and tprint_msgrcv 2015-08-28 08:46:23 +00:00
print_sigevent.c Fix struct sigevent decoding for musl 2016-01-12 03:07:39 +00:00
print_time.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
print_timex.c mpers: skip xlat struct definitions in mpers mode 2015-11-20 05:44:49 +00:00
printmode.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
printrusage.c Mpersify parsers of getrusage, waitpid, wait4, and waitid syscalls 2015-08-28 08:46:23 +00:00
printsiginfo.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
printsiginfo.h defs.h: do not include <signal.h> 2015-07-18 00:01:40 +00:00
printstat.h Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
process_vm.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
process.c Cleanup parser of ptrace syscall 2016-04-01 00:28:33 +00:00
ptp.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
ptrace.h Update PTRACE_* constants 2016-01-12 03:07:39 +00:00
quota.c quotactl: add decoding of Q_GETNEXTQUOTA and Q_XGETNEXTQUOTA 2016-03-29 01:15:24 +00:00
readahead.c readahead.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
readlink.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
README Rename COPYRIGHT to COPYING 2013-05-17 23:18:55 +00:00
README-hacking Clarify bootstrap-vs-autoreconf usage 2015-03-03 01:45:30 +00:00
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 2012-02-09 19:57:52 +01:00
README-mpers Simplify use of mpers printers 2015-09-16 00:14:55 +00:00
README.md Add README.md file with links to build status and test coverage 2016-02-04 18:20:14 +00:00
reboot.c reboot.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
regs.h Move regs-related macros and declarations from defs.h to regs.h 2015-02-13 18:28:08 +00:00
renameat.c renameat.c: make use of RVAL_DECODED 2015-07-18 00:01:40 +00:00
resource.c tests: add xetpriority.test 2016-03-17 09:30:45 +00:00
rtc.c Fix printing tracee's long integers 2015-08-18 16:15:33 +00:00
sched.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
scsi.c scsi.c: use printaddr 2015-07-18 00:01:39 +00:00
seccomp_fprog.h Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
seccomp.c Convert parser of seccomp filter program to new mpers infrastructure 2015-09-20 00:02:26 +00:00
sendfile.c sendfile: decode file offset both on entering and exiting syscall 2015-08-19 13:36:44 +00:00
sigaltstack.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sigevent.h Fix struct sigevent decoding for musl 2016-01-12 03:07:39 +00:00
signal.c Print pid_t arguments of rt_sigqueueinfo and rt_tgsigqueueinfo as int 2016-02-19 05:48:48 +00:00
signalent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
signalfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sigreturn.c cleanup: make arch_sigreturn.c files more readable 2015-11-28 02:58:29 +00:00
sock.c Change comparisons with function pointers to comparisons with SENs 2015-07-12 22:31:49 +00:00
socketutils.c Change unix_diag requests back to use full dump instead of exact match 2016-02-19 01:44:33 +00:00
sram_alloc.c sram_alloc.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
statfs.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
strace-graph strace-graph: print the pid in the graph 2016-02-05 00:41:23 +00:00
strace-log-merge strace-log-merge: fix file suffix calculation 2012-03-26 12:10:01 +00:00
strace.1 Implement simultaneous use of -p option and tracing of a command 2016-01-22 19:37:11 +00:00
strace.c Reduce memory usage while managing tcbs allocation. 2016-03-05 17:02:05 +00:00
strace.spec packages: remove acl development library from build dependencies 2015-12-24 00:02:36 +00:00
swapon.c swapon.c: make use of RVAL_DECODED 2015-07-16 23:44:57 +00:00
sync_file_range.c Fix sync_file_range2 output 2016-04-05 19:10:16 +00:00
syscall.c Implement dumping of preadv and pwritev syscalls 2016-03-31 00:01:58 +00:00
syscallent.sh Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
sysctl.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sysinfo.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
syslog.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
sysmips.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
term.c term.c: enhance tty ioctl parser 2015-07-13 20:16:24 +00:00
time.c Convert another parser of struct timeval to new mpers infrastructure 2015-09-19 04:04:49 +03:00
times.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
travis-ci.sh travis-ci: pass more gcov arguments to codecov 2016-02-08 18:35:16 +00:00
truncate.c truncate.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 2014-12-16 01:07:12 +00:00
uid.c Do not truncate return value of get{,e}[ug]id and setfs[ug]id syscalls 2015-12-27 00:18:03 +00:00
umask.c umask.c: make use of RVAL_DECODED 2015-07-16 22:58:12 +00:00
umount.c Update umount2 flags 2015-12-07 00:38:38 +00:00
uname.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
unwind.c Consistently use error_msg instead of fprintf(stderr) 2015-05-25 23:31:31 +00:00
upeek.c Introduce libstrace.a for potentially conditional compilation units 2016-02-09 05:08:00 +00:00
userfaultfd.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
util.c Introduce libstrace.a for potentially conditional compilation units 2016-02-09 05:08:00 +00:00
utime.c Mpersify parser of utime syscall 2015-08-28 08:46:23 +00:00
utimes.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
v4l2.c Fix build on systems that lack VIDIOC_CREATE_BUFS definition 2015-08-26 11:55:05 +00:00
vsprintf.c Introduce memory allocation wrappers 2015-05-25 22:25:22 +00:00
wait.c Simplify decoding of waitpid and wait4 syscalls 2016-02-11 03:06:17 +00:00
xattr.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00
xlate.el Tidy up includes and copyright notices, fix indentation 2012-03-16 12:02:22 +01:00
xmalloc.c Add copyright headers to some files which lack them 2015-12-17 17:56:48 +00:00

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.

Build Status Code Coverage