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 ce185edf4e
Noteworthy changes in strace 5.0 (2019-03-19)
8 months ago
ci Add copyright headers to some files that lack them 10 months ago
debian Update copyright year number range 8 months ago
dist Change the license of strace to LGPL-2.1-or-later 11 months ago
linux Update copyright headers 8 months ago
m4 Update copyright headers 8 months ago
maint Update copyright headers 8 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 strace-log-merge: enhance pid formatting 8 months ago
xlat Update copyright headers 8 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 .mailmap: add more entries to avoid duplication in CREDITS 8 months ago
.travis.yml ci: add a test with the latest gcc and mainline headers 1 year ago
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 17 years ago
COPYING Update copyright year number range 8 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 Update copyright headers 8 months ago
NEWS Prepare for 5.0 release 8 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 Add copyright headers to some files that lack them 10 months ago
affinity.c Update copyright headers 10 months ago
aio.c aio: fix off-by-one error in indexed xlat lookup 10 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 Update copyright headers 8 months ago
bpf_attr.h Update copyright headers 8 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 Update copyright headers 8 months ago
build_static_example.sh Use bootstrap script consistently 5 years ago
cacheflush.c Fix preprocessor indentation 10 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 Add copyright headers to some files that lack them 10 months ago
clone.c Use printsignal instead of signame 11 months ago
configure.ac Update copyright headers 8 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 Update copyright headers 8 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 Change the license of strace to LGPL-2.1-or-later 11 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 Change the license of strace to LGPL-2.1-or-later 11 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 Change the license of strace to LGPL-2.1-or-later 11 months ago
fchownat.c Add copyright headers to some files that lack them 10 months ago
fcntl.c Use printsignal instead of signame 11 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 10 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 filter_qualify: prepare for the change of signame semantics 11 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
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 Change the license of strace to LGPL-2.1-or-later 11 months ago
gcc_compat.h Fix preprocessor indentation 10 months ago
gen_bpf_attr_check.sh Update copyright headers 8 months ago
generate_mpers_am.sh Update copyright headers 8 months ago
generate_sen.sh Update copyright headers 8 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 Update copyright headers 10 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
ioctl.c Change the license of strace to LGPL-2.1-or-later 11 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 8 months ago
ipc.c Update copyright headers 8 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 Change the license of strace to LGPL-2.1-or-later 11 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_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 Update copyright headers 8 months ago
largefile_wrappers.h Fix preprocessor indentation 10 months ago
ldt.c Change the license of strace to LGPL-2.1-or-later 11 months ago
link.c Update copyright headers 10 months ago
list.h Fix preprocessor indentation 8 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 8 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 10 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 Change the license of strace to LGPL-2.1-or-later 11 months ago
mount.c Change the license of strace to LGPL-2.1-or-later 11 months ago
mpers.awk Change the license of strace to LGPL-2.1-or-later 11 months ago
mpers.sh Update copyright headers 8 months ago
mpers_test.sh Update copyright headers 8 months ago
mpers_type.h Fix preprocessor indentation 10 months ago
mq.c Change the license of strace to LGPL-2.1-or-later 11 months ago
msghdr.c Update copyright headers 8 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 8 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 Update copyright headers 8 months ago
number_set.c Update copyright headers 10 months ago
number_set.h Fix preprocessor indentation 10 months ago
oldstat.c Update copyright headers 10 months ago
open.c Change the license of strace to LGPL-2.1-or-later 11 months ago
or1k_atomic.c Fix preprocessor indentation 10 months ago
pathtrace.c Update copyright headers 8 months ago
perf.c Fix preprocessor indentation 10 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 Change the license of strace to LGPL-2.1-or-later 11 months ago
prctl.c Update copyright headers 8 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 8 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 8 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 Change the license of strace to LGPL-2.1-or-later 11 months ago
print_timeval.c Change the license of strace to LGPL-2.1-or-later 11 months ago
print_timex.c Update copyright headers 10 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 8 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 10 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 Add copyright headers to some files that lack them 10 months ago
resource.c Update copyright headers 8 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 Change the license of strace to LGPL-2.1-or-later 11 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 8 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 8 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 Change the license of strace to LGPL-2.1-or-later 11 months ago
sched_attr.h Fix preprocessor indentation 10 months ago
scno.am Update copyright headers 10 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 Update copyright headers 8 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 8 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
stat.c Update copyright headers 10 months ago
stat.h Fix preprocessor indentation 10 months ago
stat64.c Update copyright headers 10 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 10 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 8 months ago
strace-log-merge.1.in Change the license of strace to LGPL-2.1-or-later 11 months ago
strace.1.in Change -D option to imply -I4 8 months ago
strace.c Update copyright headers 8 months ago
strace.spec.in strace.spec.in: do not define Group tag for modern distros 8 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 Update copyright headers 10 months ago
syscall.c Update copyright headers 8 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 Change the license of strace to LGPL-2.1-or-later 11 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 Update copyright headers 8 months ago
utime.c Add copyright headers to some files that lack them 10 months ago
utimes.c Update copyright headers 10 months ago
v4l2.c Update copyright headers 8 months ago
wait.c Use sprintsigname for converting signal number to string 11 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 10 months ago
xmalloc.h Fix preprocessor indentation 10 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