Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dmitry V. Levin 7f8bd4d096
NEWS for strace version 4.15
3 years ago
debian Sync strace.spec and debian/ with packages 3 years ago
linux syscall_name: clear __X32_SYSCALL_BIT from syscall number on x32 3 years ago
m4 Makefile.am: don't confuse CFLAGS and CFLAGS_FOR_BUILD 3 years ago
maint maint: add more workarounds for alpha and powerpc 3 years ago
qemu_multiarch_testing qemu_multiarch_testing/*: make it easier to do debug in sandboxes 5 years ago
test Use <asm/unistd.h> instead of <sys/syscall.h> 3 years ago
tests tests: relax getaffinity return value check in tests/sched_xetaffinity.c 3 years ago
xlat xlat: provide fallback definitions for NETLINK_* constants 3 years ago
.gitignore make-dist: generate strace-*.tar.gz, strace.dsc, and strace.spec 3 years ago
.mailmap .mailmap: add addresses of Thomas De Schampheleire 3 years ago
.travis.yml travis: add x86 musl 3 years ago
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 17 years ago
COPYING Rename COPYRIGHT to COPYING 6 years ago
CREDITS.in CREDITS.in: add Jian Zhen 4 years ago
ChangeLog-CVS Generate ChangeLog from git log 10 years ago
HACKING-scripts ioctl: take all 32 bits of ioctl commands into account 5 years ago
INSTALL Remove and update documentation 8 years ago
Makefile.am Makefile.am: don't confuse CFLAGS and CFLAGS_FOR_BUILD 3 years ago
NEWS tests: fix threads-execve.test for large pids 3 years ago
README README: add system requirements and beautify the file 3 years ago
README-hacking Clarify bootstrap-vs-autoreconf usage 5 years ago
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 8 years ago
README-mpers mpers: add support of conditionally compiled printers 3 years ago
README.md Add README.md file with links to build status and test coverage 4 years ago
access.c access.c: make use of RVAL_DECODED 4 years ago
affinity.c affinity: pass 0 as a pid to sched_getaffinity 3 years ago
aio.c aio: print aio_context_t as a pointer type 3 years ago
alpha.c alpha: fix decoding of osf_statfs and osf_fstatfs syscalls 4 years ago
bjm.c bjm: use getarg_ull for retrieving first two parameters of init_module syscall 3 years ago
block.c block: add some definitions from <linux/blkpg.h> 3 years ago
bootstrap tests: use correct m32/mx32 st_mtime_nsec checks in tests/xstatx.c 3 years ago
bpf.c Fix decoding of BPF_MAP_UPDATE_ELEM flags 3 years ago
btrfs.c Use tprints instead of tprintf in a few more places 3 years ago
build_static_example.sh Use bootstrap script consistently 5 years ago
cacheflush.c bfin: fix decoding of cacheflush syscall 3 years ago
capability.c capability: fix omission of capability structure field names 3 years ago
caps0.h Move CAP_* definitions out to header files 5 years ago
caps1.h Move CAP_* definitions out to header files 5 years ago
chdir.c chdir.c: make use of RVAL_DECODED 4 years ago
chmod.c Fix printing of mode_t, umode_t, and umask types 3 years ago
clone.c clone: use kernel_ulong_t as type of flags parameter of unshare call 3 years ago
configure.ac Move all gl_WARN_ADD calls to a separate m4 macro 3 years ago
copy_file_range.c Implement copy_file_range syscall decoding 4 years ago
count.c Fix NULL dereference in "-S name" when syscall table has holes 3 years ago
defs.h Rewrite remaining qual_* parsers using bit sets 3 years ago
desc.c alpha: alias getdtablesize to printargs 4 years ago
dirent.c Rename widen_to_ull to zero_extend_signed_to_ull 3 years ago
dirent64.c Fix decoding of 3rd argument of getdents/getdents64 syscalls 4 years ago
dm.c Add support for decoding of DM_* ioctl commands 3 years ago
empty.h Add mpers support 4 years ago
epoll.c Fix decoding of epoll_ctl operation argument 3 years ago
errnoent.sh Change errnoent.h files to use designated initializers 5 years ago
evdev.c evdev.c: fix typo in comment 3 years ago
eventfd.c Add copyright headers to some files which lack them 4 years ago
execve.c Fix decoding of execve and execveat syscalls with invalid input 4 years ago
fadvise.c fadvise: use getarg_ull for obtaining len argument of fadvise64 syscall 3 years ago
fallocate.c fallocate: change print format of offset and len arguments to signed 3 years ago
fanotify.c Fix printing of fanotify_mark mask argument 3 years ago
fchownat.c fchownat.c: make use of RVAL_DECODED 4 years ago
fcntl.c Fix printing of invalid 3rd argument of fcntl/fcntl64 syscall 3 years ago
fetch_seccomp_fprog.c mpers: add support of conditionally compiled printers 3 years ago
fetch_struct_flock.c mpers: add support of conditionally compiled printers 3 years ago
fetch_struct_mmsghdr.c mmsghdr.c: rewrite decode_mmsgvec using print_array 3 years ago
fetch_struct_msghdr.c Mpersify fetchers of struct msghdr and struct mmsghdr 3 years ago
fetch_struct_stat.c Mpersify parsers of struct stat and struct stat64 3 years ago
fetch_struct_stat64.c Mpersify parsers of struct stat and struct stat64 3 years ago
fetch_struct_statfs.c Rename widen_to_ull to zero_extend_signed_to_ull 3 years ago
file_handle.c file_handle: use separate xlat for name_ta_handle_at flags 3 years ago
file_ioctl.c file_ioctl.c: print first two extents for FIDEDUPERANGE in abbrev mode 3 years ago
flock.c desc.c: move parser of flock syscall to a separate file 4 years ago
flock.h Change #include guard trailing part comments 3 years ago
fs_x_ioctl.c Move parser of 'X' type ioctls to a separate file 3 years ago
fstatfs.c Fix decoding of statfs family syscalls 4 years ago
fstatfs64.c Fix decoding of statfs family syscalls 4 years ago
futex.c futex: make output of the val3 argument of the FUTEX_WAKE_OP command more structured 3 years ago
gcc_compat.h Rename BUILD_BUG_ON_ZERO macro 3 years ago
generate_mpers_am.sh Consistently use extended regular expressions where appropriate 3 years ago
generate_sen.sh Generate SEN numbers in a locale independent order 3 years ago
get_robust_list.c Add copyright headers to some files which lack them 4 years ago
getcpu.c getcpu.c: use printnum_int and printaddr 4 years ago
getcwd.c getcwd.c: use printaddr 4 years ago
getrandom.c getrandom.c: use printaddr 4 years ago
git-set-file-times Update auxiliary maintainer mode build tools 5 years ago
git-version-gen git-version-gen: replace '-' with '.' in generated version 3 years ago
gitlog-to-changelog Update auxiliary maintainer mode build tools 5 years ago
hdio.c Mpersify hdio.c 3 years ago
hostname.c hostname.c: make use of RVAL_DECODED 4 years ago
inotify.c Add copyright headers to some files which lack them 4 years ago
io.c io: use umoven_or_printaddr_ignore_syserror as umove function in tprint_iov_upto 3 years ago
ioctl.c Add support for decoding of DM_* ioctl commands 3 years ago
ioctlsort.c Include <linux/ioctl.h> for _IOC_* macros 5 years ago
ioperm.c Implement ioperm syscall decoding 4 years ago
iopl.c Implement iopl syscall decoding 4 years ago
ioprio.c Prepare for transition from xlookup64 to xlookup 3 years ago
ipc.c Fix corner cases of ipc syscall decoding 3 years ago
ipc_defs.h Change #include guard trailing part comments 3 years ago
ipc_msg.c ipc: fix printing key_t arguments of msgget, semget, and shmget syscalls 3 years ago
ipc_msgctl.c ipc: fix printing of integer arguments 3 years ago
ipc_sem.c ipc: fix printing of nsops argument of semop and semtimedop syscalls 3 years ago
ipc_shm.c ipc: fix printing of integer arguments 3 years ago
ipc_shmctl.c ipc: fix printing of integer arguments 3 years ago
kcmp.c kcmp: print index parameters of unknown commands as kernel_ulong_t 3 years ago
kernel_types.h Change #include guard trailing part comments 3 years ago
kexec.c kexec: use widen_to_ulong since kexec_load has compat on x32/n32 3 years ago
keyctl.c keyctl: use kernel_ulong_t and getarg_ull instead of long 3 years ago
ldt.c Add copyright headers to some files which lack them 4 years ago
link.c Add copyright headers to some files which lack them 4 years ago
lookup_dcookie.c lookup_dcookie: print len parameter as kernel_ulong_t 3 years ago
loop.c loop.c: decode LOOP_SET_DIRECT_IO 3 years ago
lseek.c Rename widen_to_ull to zero_extend_signed_to_ull 3 years ago
make-dist make-dist: use HEAD for making distribution package 3 years ago
make-dsc Consistently use extended regular expressions where appropriate 3 years ago
mem.c mem: print mincore output as an array 3 years ago
membarrier.c Prepare for transition from sprintflags64 to sprintflags 3 years ago
memfd_create.c Add copyright headers to some files which lack them 4 years ago
mknod.c Do not use AC_HEADER_MAJOR, include <sys/sysmacros.h> unconditionally 3 years ago
mmsghdr.c Print unsent messages of failed sendmmsg syscall 3 years ago
mount.c Fix printing of invalid flags argument of mount syscall 3 years ago
mpers.awk mpers.awk: relax union member name absence check 3 years ago
mpers.sh Consistently use extended regular expressions where appropriate 3 years ago
mpers_test.sh mpers: add MPERS_IS_* to CFLAGS passed to mpers.sh 3 years ago
mpers_type.h Change #include guard trailing part comments 3 years ago
mq.c mq: print msg_prio as a pointer, not as an immediate value 3 years ago
msghdr.c Use IOV_MAX instead of UIO_MAXIOV 3 years ago
msghdr.h Change #include guard trailing part comments 3 years ago
mtd.c Consistently use printaddr for printing addresses 3 years ago
native_defs.h Simplify use of mpers printers 4 years ago
net.c xlat: provide fallback definitions for NETLINK_* constants 3 years ago
netlink.c netlink: handle multipart netlink messages 3 years ago
numa.c Fix printing of invalid flags argument of get_mempolicy syscall 3 years ago
oldstat.c Mpersify parsers of struct stat and struct stat64 3 years ago
open.c Provide a safe definition of O_ACCMODE 3 years ago
or1k_atomic.c or1k: fix printing of invalid 1st argument of or1k_atomic syscall 3 years ago
pathtrace.c Introduce a separate SEN entry for fstatat64 syscall 3 years ago
perf.c Implement decoding of perf_event_attr structure in perf_event_open syscall 3 years ago
perf_event_struct.h Implement decoding of perf_event_attr structure in perf_event_open syscall 3 years ago
personality.c Handle unlikely errors from personality syscall 4 years ago
pkeys.c Add support for pkey_mprotect, pkey_alloc, pkey_free syscalls 3 years ago
poll.c Fix printing of invalid struct pollfd.events 3 years ago
prctl.c prctl: implement decoding of PR_SET_FP_MODE and PR_GET_FP_MODE options 3 years ago
print_mq_attr.c mq: Properly print mq_flags field 3 years ago
print_msgbuf.c mpers: add support of conditionally compiled printers 3 years ago
print_sigevent.c print_sigevent: fix field names of sigev_value structure 3 years ago
print_statfs.c statfs: fix printing format of f_fsid field 3 years ago
print_struct_stat.c Do not use AC_HEADER_MAJOR, include <sys/sysmacros.h> unconditionally 3 years ago
print_time.c Split print_time.c 3 years ago
print_timespec.c Split print_time.c 3 years ago
print_timeval.c Print timeval pair as an array of timeval entries 3 years ago
print_timex.c Print struct timeval consistently 3 years ago
printmode.c Fix printing of mode_t, umode_t, and umask types 3 years ago
printrusage.c alpha: print struct timeval32 consistently 3 years ago
printsiginfo.c Print syscall names only for defined syscalls 3 years ago
printsiginfo.h Change #include guard trailing part comments 3 years ago
process.c Add a enum for decoding to tprint_iov() and tprint_iov_upto() 3 years ago
process_vm.c process_vm: use widen_to_ulong for local_iovcnt, renote_iovcnt, and flags 3 years ago
ptp.c Add copyright headers to some files which lack them 4 years ago
ptrace.h Use PTRACE_SUNDETACH everywhere on SPARC and SPARC64 3 years ago
qualify.c Rewrite remaining qual_* parsers using bit sets 3 years ago
quota.c quota: ensure that names of structure fields are printed properly 3 years ago
readahead.c readahead: fix print format for the "count" argument 3 years ago
readlink.c Add copyright headers to some files which lack them 4 years ago
reboot.c Fix decoding of LINUX_REBOOT_CMD_RESTART2 argument 4 years ago
regs.h Change #include guard trailing part comments 3 years ago
renameat.c renameat.c: make use of RVAL_DECODED 4 years ago
resource.c Fix decoding of pid_t argument of prlimit64 syscall 3 years ago
rtc.c Mpersify RTC_* ioctl parser 3 years ago
sched.c Fix printing of struct sched_attr.sched_flags 3 years ago
scsi.c io: use umoven_or_printaddr_ignore_syserror as umove function in tprint_iov_upto 3 years ago
seccomp.c Export print_seccomp_fprog for further use in parser of ptrace syscall 3 years ago
seccomp_fprog.h Change #include guard trailing part comments 3 years ago
sendfile.c sendfile: decode file offset both on entering and exiting syscall 4 years ago
sigaltstack.c Add copyright headers to some files which lack them 4 years ago
sigevent.h Change #include guard trailing part comments 3 years ago
signal.c signal: fix omission of field names in sigaction printers 3 years ago
signalent.sh Tidy up includes and copyright notices, fix indentation 8 years ago
signalfd.c Add copyright headers to some files which lack them 4 years ago
sigreturn.c cleanup: make arch_sigreturn.c files more readable 4 years ago
sock.c sock.c: use print_sockaddr 3 years ago
sockaddr.c net.c: move all sockaddr parsers to a separate file 3 years ago
socketcall.c Do not print too many arguments of socketcall syscall 3 years ago
socketutils.c xlat: provide fallback definitions for NETLINK_* constants 3 years ago
sram_alloc.c bfin: fix printing of invalid flags argument of sram_alloc syscall 3 years ago
stat.c Mpersify parsers of struct stat and struct stat64 3 years ago
stat.h Mpersify parsers of struct stat and struct stat64 3 years ago
stat64.c Mpersify parsers of struct stat and struct stat64 3 years ago
statfs.c Fix decoding of statfs family syscalls 4 years ago
statfs.h Change #include guard trailing part comments 3 years ago
statfs64.c Fix decoding of statfs family syscalls 4 years ago
strace-graph strace-graph: print the pid in the graph 4 years ago
strace-log-merge strace-log-merge: fix file suffix calculation 8 years ago
strace.1 Restructure strace.1 3 years ago
strace.c Fix libunwind segfault when -p is passed before -k 3 years ago
strace.spec.in Sync strace.spec and debian/ with packages 3 years ago
swapon.c swap: always print priority value 3 years ago
sync_file_range.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 4 years ago
sync_file_range2.c Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace 4 years ago
syscall.c Rewrite remaining qual_* parsers using bit sets 3 years ago
syscallent.sh Tidy up includes and copyright notices, fix indentation 8 years ago
sysctl.c Add copyright headers to some files which lack them 4 years ago
sysinfo.c Rename widen_to_ull to zero_extend_signed_to_ull 3 years ago
syslog.c Add copyright headers to some files which lack them 4 years ago
sysmips.c Consistently use printaddr for printing addresses 3 years ago
term.c Use tprints instead of tprintf in a few more places 3 years ago
time.c Fix old_value argument retrieval in timerfd_settime parser 3 years ago
times.c Rename widen_to_ull to zero_extend_signed_to_ull 3 years ago
travis-build.sh travis: add x86 musl 3 years ago
travis-install.sh travis: add x86 musl 3 years ago
travis-success.sh Split travis-ci.sh 3 years ago
truncate.c truncate.c: make use of RVAL_DECODED 4 years ago
ubi.c Move parser of UBI_* ioctls to a separate file 3 years ago
uid.c uid: print size as signed in setgroups/getgroups 3 years ago
uid16.c Fix decoding of 16-bit *chown and [gs]et*[gu]id syscalls 5 years ago
umask.c Fix printing of mode_t, umode_t, and umask types 3 years ago
umount.c Update umount2 flags 4 years ago
uname.c Add copyright headers to some files which lack them 4 years ago
unwind.c Fix libunwind segfault when -p is passed before -k 3 years ago
upeek.c Fix casts of ptrace's third argument 3 years ago
upoke.c Introduce upoke function 3 years ago
userfaultfd.c Use tprints instead of tprintf in a few more places 3 years ago
util.c util: fix integer overflow check in string_to_uint_ex 3 years ago
utime.c utime: fix omission of field names in utimbuf structure printing 3 years ago
utimes.c Add copyright headers to some files which lack them 4 years ago
v4l2.c Print struct timeval consistently 3 years ago
vsprintf.c Introduce memory allocation wrappers 4 years ago
wait.c Simplify decoding of waitpid and wait4 syscalls 4 years ago
xattr.c Fix corner cases of xattr family syscalls decoding 3 years ago
xlat.h Change #include guard trailing part comments 3 years ago
xlate.el Tidy up includes and copyright notices, fix indentation 8 years ago
xmalloc.c Add copyright headers to some files which lack them 4 years ago

README.md

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