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 d241b6556f
Noteworthy changes in strace 5.2 (2019-07-12)
4 months ago
ci Add copyright headers to some files that lack them 10 months ago
debian Post-release administrivia 5 months ago
dist Change the license of strace to LGPL-2.1-or-later 11 months ago
linux Update copyright headers 4 months ago
m4 Update copyright headers 7 months ago
maint Update copyright headers 4 months ago
qemu_multiarch_testing Wipe out references to defunct sourceforge 1 year ago
test tests: check tracing of looping threads 8 months ago
tests Update copyright headers 4 months ago
xlat numa: enhance decoding of mode argument of mbind and set_mempolicy syscalls 4 months ago
.gitattributes Disable git-archive 1 year ago
.gitignore Bring lists back to the sorted order 10 months ago
.gitlab-ci.yml ci: add a test with the latest gcc and mainline headers 1 year ago
.mailmap Update .mailmap 4 months ago
.travis.yml travis: Move fastest test configuration first 4 months ago
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 17 years ago
COPYING Update copyright year number range 7 months ago
CREDITS.in Wipe out references to defunct sourceforge 1 year ago
ChangeLog-CVS Generate ChangeLog from git log 10 years ago
HACKING-scripts Move errnoent.sh, signalent.sh, and syscallent.sh to maint subdirectory 2 years ago
INSTALL-git.md Rename INSTALL to README-configure 1 year ago
LGPL-2.1-or-later Change the license of strace to LGPL-2.1-or-later 11 months ago
Makefile.am Stage output for -z and -Z options 4 months ago
NEWS Prepare for 5.2 release 4 months ago
README-configure Rename INSTALL to README-configure 1 year ago
README-github_gitlab-autogenerated-archives.txt Disable git-archive 1 year ago
README-hacking doc: update commit requirements 1 year ago
README-linux-ptrace README-linux-ptrace: correct the description of suppressed signals 7 years ago
README-mpers mpers: add support of conditionally compiled printers 3 years ago
README.md Change the license of strace to LGPL-2.1-or-later 11 months ago
access.c Update copyright headers 4 months ago
affinity.c Update copyright headers 10 months ago
aio.c Update copyright headers 5 months ago
alpha.c Change the license of strace to LGPL-2.1-or-later 11 months ago
arch_defs.h Fix preprocessor indentation 10 months ago
basic_filters.c Change the license of strace to LGPL-2.1-or-later 11 months ago
bind.c Update copyright headers 10 months ago
bjm.c Update copyright headers 10 months ago
block.c Fix preprocessor indentation 10 months ago
bootstrap Add copyright headers to some files that lack them 10 months ago
bpf.c bpf: add support for new fields in BPF_PROG_TEST_RUN 4 months ago
bpf_attr.h bpf: add support for new fields in BPF_PROG_TEST_RUN 4 months ago
bpf_filter.c Change the license of strace to LGPL-2.1-or-later 11 months ago
bpf_filter.h Fix preprocessor indentation 10 months ago
bpf_fprog.h Fix preprocessor indentation 10 months ago
bpf_seccomp_filter.c Update copyright headers 10 months ago
bpf_sock_filter.c Change the license of strace to LGPL-2.1-or-later 11 months ago
btrfs.c btrfs: implement decoding of BTRFS_IOC_FORGET_DEV argument 5 months ago
build_static_example.sh Use bootstrap script consistently 5 years ago
cacheflush.c Update copyright headers 5 months ago
capability.c Update copyright headers 10 months ago
caps0.h Add copyright headers to some files that lack them 10 months ago
caps1.h Add copyright headers to some files that lack them 10 months ago
chdir.c Add copyright headers to some files that lack them 10 months ago
chmod.c Update copyright headers 4 months ago
clone.c ia64: optimize syscallent table 4 months ago
configure.ac Stage output for -z and -Z options 4 months ago
copy_file_range.c Update copyright headers 10 months ago
copyright-year-gen Add copyright headers to some files that lack them 10 months ago
count.c Change the license of strace to LGPL-2.1-or-later 11 months ago
defs.h Fix preprocessor indentation 4 months ago
delay.c Change the license of strace to LGPL-2.1-or-later 11 months ago
delay.h Fix preprocessor indentation 10 months ago
desc.c Update copyright headers 5 months ago
dirent.c Update copyright headers 10 months ago
dirent64.c Update copyright headers 10 months ago
dm.c Fix preprocessor indentation 10 months ago
dyxlat.c Update copyright headers 10 months ago
empty.h Add mpers support 4 years ago
epoll.c Change the license of strace to LGPL-2.1-or-later 11 months ago
error_prints.c Change the license of strace to LGPL-2.1-or-later 11 months ago
error_prints.h Fix preprocessor indentation 10 months ago
evdev.c Fix preprocessor indentation 10 months ago
evdev_mpers.c Fix preprocessor indentation 10 months ago
eventfd.c Update copyright headers 10 months ago
execve.c Update copyright headers 4 months ago
f_owner_ex.h Fix preprocessor indentation 10 months ago
fadvise.c Update copyright headers 10 months ago
fallocate.c Add copyright headers to some files that lack them 10 months ago
fanotify.c Update copyright headers 4 months ago
fchownat.c Update copyright headers 4 months ago
fcntl.c Use printsignal instead of signame 10 months ago
fetch_bpf_fprog.c Update copyright headers 10 months ago
fetch_indirect_syscall_args.c Change the license of strace to LGPL-2.1-or-later 11 months ago
fetch_struct_flock.c Update copyright headers 10 months ago
fetch_struct_keyctl_kdf_params.c Add copyright headers to some files that lack them 10 months ago
fetch_struct_mmsghdr.c Update copyright headers 10 months ago
fetch_struct_msghdr.c Update copyright headers 10 months ago
fetch_struct_stat.c Update copyright headers 10 months ago
fetch_struct_stat64.c Update copyright headers 10 months ago
fetch_struct_statfs.c Update copyright headers 10 months ago
fetch_struct_xfs_quotastat.c Add copyright headers to some files that lack them 10 months ago
file-date-gen Add copyright headers to some files that lack them 10 months ago
file_handle.c Update copyright headers 4 months ago
file_ioctl.c Change the license of strace to LGPL-2.1-or-later 11 months ago
filter.h Fix preprocessor indentation 10 months ago
filter_qualify.c Update copyright headers 4 months ago
flock.c Update copyright headers 10 months ago
flock.h Fix preprocessor indentation 10 months ago
fs_x_ioctl.c Update copyright headers 10 months ago
fsconfig.c Implement decoding of fsconfig syscall 4 months ago
fsmount.c Implement decoding of fsmount syscall 4 months ago
fsopen.c Implement decoding of fsopen syscall 4 months ago
fspick.c Implement decoding of fspick syscall 4 months ago
fstatfs.c Add copyright headers to some files that lack them 10 months ago
fstatfs64.c Add copyright headers to some files that lack them 10 months ago
futex.c Update copyright headers 5 months ago
gcc_compat.h Fix preprocessor indentation 10 months ago
gen_bpf_attr_check.sh Update copyright headers 7 months ago
generate_mpers_am.sh Update copyright headers 7 months ago
generate_sen.sh Update copyright headers 7 months ago
get_personality.c Introduce PTRACE_GET_SYSCALL_INFO support 11 months ago
get_personality.h Fix preprocessor indentation 10 months ago
get_robust_list.c Update copyright headers 10 months ago
getcpu.c Add copyright headers to some files that lack them 10 months ago
getcwd.c Add copyright headers to some files that lack them 10 months ago
getpagesize.c Add copyright headers to some files that lack them 10 months ago
getrandom.c Add copyright headers to some files that lack them 10 months ago
git-set-file-times Update auxiliary maintainer mode build tools 4 years ago
git-version-gen Add copyright headers 2 years ago
gitlog-to-changelog Update auxiliary maintainer mode build tools 4 years ago
hdio.c Update copyright headers 10 months ago
hostname.c Add copyright headers to some files that lack them 10 months ago
inotify.c inotify: decode file descriptor returned by inotify_init 4 months ago
inotify_ioctl.c Change the license of strace to LGPL-2.1-or-later 11 months ago
io.c Change the license of strace to LGPL-2.1-or-later 11 months ago
io_uring.c Implement decoding of io_uring_* syscalls 5 months ago
ioctl.c Update copyright headers 4 months ago
ioctl_iocdef.c Update copyright headers 10 months ago
ioctlsort.c Update copyright headers 10 months ago
ioperm.c Add copyright headers to some files that lack them 10 months ago
iopl.c Add copyright headers to some files that lack them 10 months ago
ioprio.c Update copyright headers 7 months ago
ipc.c Update copyright headers 7 months ago
ipc_defs.h Fix preprocessor indentation 10 months ago
ipc_msg.c Change the license of strace to LGPL-2.1-or-later 11 months ago
ipc_msgctl.c Update copyright headers 10 months ago
ipc_sem.c Update copyright headers 5 months ago
ipc_shm.c Change the license of strace to LGPL-2.1-or-later 11 months ago
ipc_shmctl.c Update copyright headers 10 months ago
kcmp.c Update copyright headers 10 months ago
kernel_timespec.h Introduce kernel_timespec64_t type 6 months ago
kernel_timeval.h Introduce kernel_timeval64_t type 5 months ago
kernel_timex.h Fix preprocessor indentation 4 months ago
kernel_types.h Fix preprocessor indentation 10 months ago
kexec.c Change the license of strace to LGPL-2.1-or-later 11 months ago
keyctl.c Change the license of strace to LGPL-2.1-or-later 11 months ago
keyctl_kdf_params.h Fix preprocessor indentation 10 months ago
kill_save_errno.h Fix preprocessor indentation 10 months ago
kvm.c kvm: avoid bogus vcpu_info assignment in vcpu_register 4 months ago
largefile_wrappers.h Update copyright headers 5 months ago
ldt.c Change the license of strace to LGPL-2.1-or-later 11 months ago
link.c Update copyright headers 4 months ago
list.h Fix preprocessor indentation 7 months ago
listen.c Update copyright headers 10 months ago
lookup_dcookie.c Update copyright headers 10 months ago
loop.c Fix preprocessor indentation 10 months ago
lseek.c Fix preprocessor indentation 10 months ago
macros.h Update copyright headers 7 months ago
make-dist Add copyright headers to some files that lack them 10 months ago
make-dsc Add copyright headers to some files that lack them 10 months ago
mem.c Change the license of strace to LGPL-2.1-or-later 11 months ago
membarrier.c Update copyright headers 10 months ago
memfd_create.c Update copyright headers 10 months ago
mknod.c Update copyright headers 4 months ago
mmap_cache.c Change the license of strace to LGPL-2.1-or-later 11 months ago
mmap_cache.h Fix preprocessor indentation 10 months ago
mmap_notify.c Change the license of strace to LGPL-2.1-or-later 11 months ago
mmap_notify.h Fix preprocessor indentation 10 months ago
mmsghdr.c Update copyright headers 5 months ago
mount.c Change the license of strace to LGPL-2.1-or-later 11 months ago
move_mount.c print_dirfd: do not print trailing comma 4 months ago
mpers.awk Change the license of strace to LGPL-2.1-or-later 11 months ago
mpers.sh Update copyright headers 7 months ago
mpers_test.sh Update copyright headers 7 months ago
mpers_type.h Fix preprocessor indentation 10 months ago
mq.c Update copyright headers 5 months ago
msghdr.c Implement decoding of SO_TIMESTAMP*_NEW control messages 5 months ago
msghdr.h Fix preprocessor indentation 10 months ago
mtd.c Change the license of strace to LGPL-2.1-or-later 11 months ago
native_defs.h Add copyright headers to some files that lack them 10 months ago
nbd_ioctl.c Fix preprocessor indentation 10 months ago
negated_errno.h Fix preprocessor indentation 10 months ago
net.c Update copyright headers 7 months ago
netlink.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink.h Fix preprocessor indentation 10 months ago
netlink_crypto.c Update copyright headers 10 months ago
netlink_inet_diag.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_kobject_uevent.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_kobject_uevent.h Fix preprocessor indentation 10 months ago
netlink_netfilter.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_netlink_diag.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_packet_diag.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_route.c Update copyright headers 10 months ago
netlink_route.h Fix preprocessor indentation 10 months ago
netlink_selinux.c Update copyright headers 10 months ago
netlink_smc_diag.c Fix preprocessor indentation 10 months ago
netlink_sock_diag.c Change the license of strace to LGPL-2.1-or-later 11 months ago
netlink_sock_diag.h Fix preprocessor indentation 10 months ago
netlink_unix_diag.c Change the license of strace to LGPL-2.1-or-later 11 months ago
nlattr.c nlattr: fix off-by-one error in indexed xlat lookup 10 months ago
nlattr.h Fix preprocessor indentation 10 months ago
nsfs.c Change the license of strace to LGPL-2.1-or-later 11 months ago
nsfs.h Fix preprocessor indentation 10 months ago
nsig.h Fix preprocessor indentation 10 months ago
numa.c numa: enhance decoding of mode argument of mbind and set_mempolicy syscalls 4 months ago
number_set.c Update copyright headers 4 months ago
number_set.h Update copyright headers 4 months ago
oldstat.c Update copyright headers 10 months ago
open.c Update copyright headers 4 months ago
open_tree.c print_dirfd: do not print trailing comma 4 months ago
or1k_atomic.c Fix preprocessor indentation 10 months ago
pathtrace.c Implement decoding of fspick syscall 4 months ago
perf.c Update copyright headers 5 months ago
perf_event_struct.h Fix preprocessor indentation 10 months ago
perf_ioctl.c Fix preprocessor indentation 10 months ago
personality.c Change the license of strace to LGPL-2.1-or-later 11 months ago
pkeys.c Add copyright headers to some files that lack them 10 months ago
poll.c Update copyright headers 5 months ago
prctl.c Update copyright headers 7 months ago
print_aio_sigset.c Change the license of strace to LGPL-2.1-or-later 11 months ago
print_dev_t.c Update copyright headers 10 months ago
print_fields.h Update copyright headers 7 months ago
print_group_req.c Update copyright headers 10 months ago
print_ifindex.c Change the license of strace to LGPL-2.1-or-later 11 months ago
print_instruction_pointer.c Change the license of strace to LGPL-2.1-or-later 11 months ago
print_kernel_version.c Change the license of strace to LGPL-2.1-or-later 11 months ago
print_mac.c Update copyright headers 7 months ago
print_mq_attr.c Update copyright headers 10 months ago
print_msgbuf.c Update copyright headers 10 months ago
print_sg_req_info.c Fix preprocessor indentation 10 months ago
print_sigevent.c Update copyright headers 10 months ago
print_statfs.c Update copyright headers 10 months ago
print_struct_stat.c Update copyright headers 10 months ago
print_time.c Update copyright headers 10 months ago
print_timespec.c Update copyright headers 5 months ago
print_timespec.h print_timespec.h: parametrize TIMESPEC_T.tv_nsec 5 months ago
print_timespec32.c Implement printers for kernel_timespec32_t 6 months ago
print_timespec64.c Implement printers for kernel_timespec64_t 6 months ago
print_timeval.c Update copyright headers 5 months ago
print_timeval64.c Implement decoding of SO_TIMESTAMP*_NEW control messages 5 months ago
print_timex.c Update copyright headers 5 months ago
print_timex.h Implement printer for kernel_timex32_t 6 months ago
print_utils.h Generalise some printing primitives 8 months ago
printmode.c Change the license of strace to LGPL-2.1-or-later 11 months ago
printrusage.c Update copyright headers 10 months ago
printsiginfo.c Fix preprocessor indentation 10 months ago
printsiginfo.h Fix preprocessor indentation 10 months ago
process.c Fix preprocessor indentation 10 months ago
process_vm.c Update copyright headers 10 months ago
ptp.c Change the license of strace to LGPL-2.1-or-later 11 months ago
ptrace.h Fix preprocessor indentation 10 months ago
ptrace_syscall_info.c Update copyright headers 7 months ago
ptrace_syscall_info.h Fix preprocessor indentation 10 months ago
quota.c quotactl: add xlat styles support 10 months ago
random_ioctl.c Fix preprocessor indentation 10 months ago
readahead.c Add copyright headers to some files that lack them 10 months ago
readlink.c Update copyright headers 4 months ago
reboot.c Add copyright headers to some files that lack them 10 months ago
regs.h Fix preprocessor indentation 10 months ago
renameat.c Update copyright headers 4 months ago
resource.c Update copyright headers 7 months ago
retval.c Change the license of strace to LGPL-2.1-or-later 11 months ago
retval.h Fix preprocessor indentation 10 months ago
riscv.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rt_sigframe.c Fix preprocessor indentation 10 months ago
rt_sigreturn.c Update copyright headers 10 months ago
rtc.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_addr.c rtnl_addr: decode IFA_RT_PRIORITY and IFA_TARGET_NETNSID 4 months ago
rtnl_addrlabel.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_dcb.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_link.c Fix preprocessor indentation 10 months ago
rtnl_mdb.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_neigh.c Update copyright headers 7 months ago
rtnl_neightbl.c Fix preprocessor indentation 10 months ago
rtnl_netconf.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_nsid.c Update copyright headers 7 months ago
rtnl_route.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_rule.c Change the license of strace to LGPL-2.1-or-later 11 months ago
rtnl_tc.c rtnl_tc: add TCA_STATS_BASIC_HW 10 months ago
rtnl_tc_action.c Update copyright headers 10 months ago
s390.c Fix preprocessor indentation 10 months ago
sched.c Update copyright headers 5 months ago
sched_attr.h Fix preprocessor indentation 10 months ago
scno.am Update copyright headers 5 months ago
scno.head Add copyright headers to some files that lack them 10 months ago
scsi.c Update copyright headers 10 months ago
seccomp.c Update copyright headers 10 months ago
sendfile.c Update copyright headers 10 months ago
sg_io_v3.c Fix preprocessor indentation 10 months ago
sg_io_v4.c Fix preprocessor indentation 10 months ago
shutdown.c Update copyright headers 10 months ago
sigaltstack.c Update copyright headers 10 months ago
sigevent.h Fix preprocessor indentation 10 months ago
signal.c Implement -e status=set option 4 months ago
signalfd.c Update copyright headers 10 months ago
sigreturn.c Add copyright headers to some files that lack them 10 months ago
sock.c Fix preprocessor indentation 10 months ago
sockaddr.c Update copyright headers 7 months ago
socketcall.c Change the license of strace to LGPL-2.1-or-later 11 months ago
socketutils.c Fix preprocessor indentation 10 months ago
sparc.c Change the license of strace to LGPL-2.1-or-later 11 months ago
sram_alloc.c Fix preprocessor indentation 10 months ago
stage_output.c Stage output for -z and -Z options 4 months ago
stat.c Update copyright headers 4 months ago
stat.h Fix preprocessor indentation 10 months ago
stat64.c Update copyright headers 4 months ago
statfs.c Add copyright headers to some files that lack them 10 months ago
statfs.h Fix preprocessor indentation 10 months ago
statfs64.c Add copyright headers to some files that lack them 10 months ago
static_assert.h Fix preprocessor indentation 10 months ago
statx.c Update copyright headers 4 months ago
statx.h Fix preprocessor indentation 10 months ago
strace-graph Update copyright headers 10 months ago
strace-log-merge strace-log-merge: enhance pid formatting 7 months ago
strace-log-merge.1.in Change the license of strace to LGPL-2.1-or-later 11 months ago
strace.1.in Implement -e status=set option 4 months ago
strace.c Implement -e status=set option 4 months ago
strace.spec.in Post-release administrivia 5 months ago
strace.svg Add strace mascot 1 year ago
string_to_uint.c Change the license of strace to LGPL-2.1-or-later 11 months ago
string_to_uint.h Fix preprocessor indentation 10 months ago
swapon.c Add copyright headers to some files that lack them 10 months ago
sync_file_range.c Update copyright headers 10 months ago
sync_file_range2.c sync_file_range2: remove unneeded argn assignment 4 months ago
syscall.c Fix preprocessor indentation 4 months ago
sysctl.c Update copyright headers 10 months ago
sysent.h Fix preprocessor indentation 10 months ago
sysent_shorthand_defs.h Add copyright headers to some files that lack them 10 months ago
sysent_shorthand_undefs.h Add copyright headers to some files that lack them 10 months ago
sysinfo.c Update copyright headers 10 months ago
syslog.c syslog: move constant definitions to xlat 10 months ago
sysmips.c Fix preprocessor indentation 10 months ago
term.c Change the license of strace to LGPL-2.1-or-later 11 months ago
time.c Update copyright headers 5 months ago
times.c Change the license of strace to LGPL-2.1-or-later 11 months ago
trace_event.h Fix preprocessor indentation 10 months ago
truncate.c Add copyright headers to some files that lack them 10 months ago
ubi.c Update copyright headers 10 months ago
ucopy.c Change the license of strace to LGPL-2.1-or-later 11 months ago
uid.c Change the license of strace to LGPL-2.1-or-later 11 months ago
uid16.c Add copyright headers to some files that lack them 10 months ago
umask.c Add copyright headers to some files that lack them 10 months ago
umount.c Add copyright headers to some files that lack them 10 months ago
uname.c Update copyright headers 10 months ago
unwind-libdw.c Change the license of strace to LGPL-2.1-or-later 11 months ago
unwind-libunwind.c Change the license of strace to LGPL-2.1-or-later 11 months ago
unwind.c Change the license of strace to LGPL-2.1-or-later 11 months ago
unwind.h Fix preprocessor indentation 10 months ago
upeek.c Update copyright headers 10 months ago
upoke.c Change the license of strace to LGPL-2.1-or-later 11 months ago
userfaultfd.c Fix preprocessor indentation 10 months ago
ustat.c Update copyright headers 10 months ago
util.c Introduce printnum_fd 4 months ago
utime.c Add copyright headers to some files that lack them 10 months ago
utimes.c print_dirfd: do not print trailing comma 4 months ago
v4l2.c Update copyright headers 7 months ago
wait.c Use sprintsigname for converting signal number to string 10 months ago
wait.h Fix preprocessor indentation 10 months ago
xattr.c Update copyright headers 10 months ago
xfs_quota_stat.h Add copyright headers to some files that lack them 10 months ago
xlat.c xlat_idx: do not issue warnings for holes in indices 10 months ago
xlat.h Fix preprocessor indentation 10 months ago
xmalloc.c Update copyright headers 5 months ago
xmalloc.h Update copyright headers 5 months ago
xstring.h Fix preprocessor indentation 10 months ago

README.md

strace - the linux syscall tracer

This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with 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 the terms of the GNU Lesser General Public License version 2.1 or later; see the file COPYING for details. strace test suite is released under the terms of the GNU General Public License version 2 or later; see the file tests/COPYING for details.

See the file NEWS for information on what has changed in recent versions.

Please read the file INSTALL-git for installation instructions.

Please take a look at the guide for new contributors if you want to get involved in strace development.

The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.strace.io. The mailing list archives are available at https://lists.strace.io/pipermail/strace-devel/ and other archival sites.

The GIT repository of strace is available at GitHub and GitLab.

The latest binary strace packages are available in many repositories, including OBS, Fedora rawhide, and Sisyphus.

Build Status Code Coverage