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 867dd7be21 tests: robustify umount and umount2 tests against future kernel changes 1 week ago
ci Add copyright headers to some files that lack them 4 months ago
debian Post-release administrivia 1 month ago
dist Change the license of strace to LGPL-2.1-or-later 4 months ago
linux alpha: wire up getegid, geteuid, and getppid syscalls 1 week ago
m4 Update copyright headers 1 month ago
maint Update copyright headers 1 month ago
qemu_multiarch_testing Wipe out references to defunct sourceforge 1 year ago
test tests: check tracing of looping threads 1 month ago
tests tests: robustify umount and umount2 tests against future kernel changes 1 week ago
xlat Update copyright headers 1 month ago
.gitattributes Disable git-archive 7 months ago
.gitignore Bring lists back to the sorted order 3 months ago
.gitlab-ci.yml ci: add a test with the latest gcc and mainline headers 8 months ago
.mailmap .mailmap: add more entries to avoid duplication in CREDITS 1 month ago
.travis.yml ci: add a test with the latest gcc and mainline headers 8 months ago
AUTHORS 2002-12-22 Roland McGrath <roland@redhat.com> 16 years ago
COPYING Update copyright year number range 1 month ago
CREDITS.in Wipe out references to defunct sourceforge 1 year ago
ChangeLog-CVS Generate ChangeLog from git log 9 years ago
HACKING-scripts Move errnoent.sh, signalent.sh, and syscallent.sh to maint subdirectory 1 year ago
INSTALL-git.md Rename INSTALL to README-configure 5 months ago
LGPL-2.1-or-later Change the license of strace to LGPL-2.1-or-later 4 months ago
Makefile.am Add C-SKY architecture support 1 month ago
NEWS alpha: wire up getegid, geteuid, and getppid syscalls 1 week ago
README-configure Rename INSTALL to README-configure 5 months ago
README-github_gitlab-autogenerated-archives.txt Disable git-archive 7 months 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 2 years ago
README.md Change the license of strace to LGPL-2.1-or-later 4 months ago
access.c Add copyright headers to some files that lack them 4 months ago
affinity.c Update copyright headers 4 months ago
aio.c aio: fix off-by-one error in indexed xlat lookup 4 months ago
alpha.c Change the license of strace to LGPL-2.1-or-later 4 months ago
arch_defs.h Fix preprocessor indentation 3 months ago
basic_filters.c Change the license of strace to LGPL-2.1-or-later 4 months ago
bind.c Update copyright headers 4 months ago
bjm.c Update copyright headers 4 months ago
block.c Fix preprocessor indentation 3 months ago
bootstrap Add copyright headers to some files that lack them 4 months ago
bpf.c Update copyright headers 1 month ago
bpf_attr.h Update copyright headers 1 month ago
bpf_filter.c Change the license of strace to LGPL-2.1-or-later 4 months ago
bpf_filter.h Fix preprocessor indentation 3 months ago
bpf_fprog.h Fix preprocessor indentation 3 months ago
bpf_seccomp_filter.c Update copyright headers 4 months ago
bpf_sock_filter.c Change the license of strace to LGPL-2.1-or-later 4 months ago
btrfs.c Update copyright headers 1 month ago
build_static_example.sh Use bootstrap script consistently 4 years ago
cacheflush.c Add C-SKY architecture support 1 month ago
capability.c Update copyright headers 4 months ago
caps0.h Add copyright headers to some files that lack them 4 months ago
caps1.h Add copyright headers to some files that lack them 4 months ago
chdir.c Add copyright headers to some files that lack them 4 months ago
chmod.c Add copyright headers to some files that lack them 4 months ago
clone.c Add C-SKY architecture support 1 month ago
configure.ac Add C-SKY architecture support 1 month ago
copy_file_range.c Update copyright headers 4 months ago
copyright-year-gen Add copyright headers to some files that lack them 4 months ago
count.c Change the license of strace to LGPL-2.1-or-later 4 months ago
defs.h Update copyright headers 1 month ago
delay.c Change the license of strace to LGPL-2.1-or-later 4 months ago
delay.h Fix preprocessor indentation 3 months ago
desc.c Change the license of strace to LGPL-2.1-or-later 4 months ago
dirent.c Update copyright headers 4 months ago
dirent64.c Update copyright headers 4 months ago
dm.c Fix preprocessor indentation 3 months ago
dyxlat.c Update copyright headers 4 months ago
empty.h Add mpers support 3 years ago
epoll.c Change the license of strace to LGPL-2.1-or-later 4 months ago
error_prints.c Change the license of strace to LGPL-2.1-or-later 4 months ago
error_prints.h Fix preprocessor indentation 3 months ago
evdev.c Fix preprocessor indentation 3 months ago
evdev_mpers.c Fix preprocessor indentation 3 months ago
eventfd.c Update copyright headers 4 months ago
execve.c Change the license of strace to LGPL-2.1-or-later 4 months ago
f_owner_ex.h Fix preprocessor indentation 3 months ago
fadvise.c Update copyright headers 4 months ago
fallocate.c Add copyright headers to some files that lack them 4 months ago
fanotify.c Change the license of strace to LGPL-2.1-or-later 4 months ago
fchownat.c Add copyright headers to some files that lack them 4 months ago
fcntl.c Use printsignal instead of signame 4 months ago
fetch_bpf_fprog.c Update copyright headers 4 months ago
fetch_indirect_syscall_args.c Change the license of strace to LGPL-2.1-or-later 4 months ago
fetch_struct_flock.c Update copyright headers 4 months ago
fetch_struct_keyctl_kdf_params.c Add copyright headers to some files that lack them 4 months ago
fetch_struct_mmsghdr.c Update copyright headers 4 months ago
fetch_struct_msghdr.c Update copyright headers 4 months ago
fetch_struct_stat.c Update copyright headers 4 months ago
fetch_struct_stat64.c Update copyright headers 4 months ago
fetch_struct_statfs.c Update copyright headers 4 months ago
fetch_struct_xfs_quotastat.c Add copyright headers to some files that lack them 4 months ago
file-date-gen Add copyright headers to some files that lack them 4 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 4 months ago
filter.h Fix preprocessor indentation 3 months ago
filter_qualify.c filter_qualify: prepare for the change of signame semantics 4 months ago
flock.c Update copyright headers 4 months ago
flock.h Fix preprocessor indentation 3 months ago
fs_x_ioctl.c Update copyright headers 4 months ago
fstatfs.c Add copyright headers to some files that lack them 4 months ago
fstatfs64.c Add copyright headers to some files that lack them 4 months ago
futex.c Change the license of strace to LGPL-2.1-or-later 4 months ago
gcc_compat.h Fix preprocessor indentation 3 months ago
gen_bpf_attr_check.sh Update copyright headers 1 month ago
generate_mpers_am.sh Update copyright headers 1 month ago
generate_sen.sh Update copyright headers 1 month ago
get_personality.c Introduce PTRACE_GET_SYSCALL_INFO support 4 months ago
get_personality.h Fix preprocessor indentation 3 months ago
get_robust_list.c Update copyright headers 4 months ago
getcpu.c Add copyright headers to some files that lack them 4 months ago
getcwd.c Add copyright headers to some files that lack them 4 months ago
getpagesize.c Add copyright headers to some files that lack them 4 months ago
getrandom.c Add copyright headers to some files that lack them 4 months ago
git-set-file-times Update auxiliary maintainer mode build tools 4 years ago
git-version-gen Add copyright headers 1 year ago
gitlog-to-changelog Update auxiliary maintainer mode build tools 4 years ago
hdio.c Update copyright headers 4 months ago
hostname.c Add copyright headers to some files that lack them 4 months ago
inotify.c Update copyright headers 4 months ago
inotify_ioctl.c Change the license of strace to LGPL-2.1-or-later 4 months ago
io.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ioctl.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ioctl_iocdef.c Update copyright headers 4 months ago
ioctlsort.c Update copyright headers 4 months ago
ioperm.c Add copyright headers to some files that lack them 4 months ago
iopl.c Add copyright headers to some files that lack them 4 months ago
ioprio.c Update copyright headers 1 month ago
ipc.c Update copyright headers 1 month ago
ipc_defs.h Fix preprocessor indentation 3 months ago
ipc_msg.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ipc_msgctl.c Update copyright headers 4 months ago
ipc_sem.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ipc_shm.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ipc_shmctl.c Update copyright headers 4 months ago
kcmp.c Update copyright headers 4 months ago
kernel_types.h Fix preprocessor indentation 3 months ago
kexec.c Change the license of strace to LGPL-2.1-or-later 4 months ago
keyctl.c Change the license of strace to LGPL-2.1-or-later 4 months ago
keyctl_kdf_params.h Fix preprocessor indentation 3 months ago
kill_save_errno.h Fix preprocessor indentation 3 months ago
kvm.c Update copyright headers 1 month ago
largefile_wrappers.h Fix preprocessor indentation 3 months ago
ldt.c Change the license of strace to LGPL-2.1-or-later 4 months ago
link.c Update copyright headers 4 months ago
list.h Fix preprocessor indentation 1 month ago
listen.c Update copyright headers 4 months ago
lookup_dcookie.c Update copyright headers 4 months ago
loop.c Fix preprocessor indentation 3 months ago
lseek.c Fix preprocessor indentation 3 months ago
macros.h Update copyright headers 1 month ago
make-dist Add copyright headers to some files that lack them 4 months ago
make-dsc Add copyright headers to some files that lack them 4 months ago
mem.c Change the license of strace to LGPL-2.1-or-later 4 months ago
membarrier.c Update copyright headers 4 months ago
memfd_create.c Update copyright headers 4 months ago
mknod.c Update copyright headers 4 months ago
mmap_cache.c Change the license of strace to LGPL-2.1-or-later 4 months ago
mmap_cache.h Fix preprocessor indentation 3 months ago
mmap_notify.c Change the license of strace to LGPL-2.1-or-later 4 months ago
mmap_notify.h Fix preprocessor indentation 3 months ago
mmsghdr.c Change the license of strace to LGPL-2.1-or-later 4 months ago
mount.c Change the license of strace to LGPL-2.1-or-later 4 months ago
mpers.awk Change the license of strace to LGPL-2.1-or-later 4 months ago
mpers.sh Update copyright headers 1 month ago
mpers_test.sh Update copyright headers 1 month ago
mpers_type.h Fix preprocessor indentation 3 months ago
mq.c Change the license of strace to LGPL-2.1-or-later 4 months ago
msghdr.c Update copyright headers 1 month ago
msghdr.h Fix preprocessor indentation 3 months ago
mtd.c Change the license of strace to LGPL-2.1-or-later 4 months ago
native_defs.h Add copyright headers to some files that lack them 4 months ago
nbd_ioctl.c Fix preprocessor indentation 3 months ago
negated_errno.h Fix preprocessor indentation 3 months ago
net.c Update copyright headers 1 month ago
netlink.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink.h Fix preprocessor indentation 3 months ago
netlink_crypto.c Update copyright headers 4 months ago
netlink_inet_diag.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_kobject_uevent.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_kobject_uevent.h Fix preprocessor indentation 3 months ago
netlink_netfilter.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_netlink_diag.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_packet_diag.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_route.c Update copyright headers 4 months ago
netlink_route.h Fix preprocessor indentation 3 months ago
netlink_selinux.c Update copyright headers 4 months ago
netlink_smc_diag.c Fix preprocessor indentation 3 months ago
netlink_sock_diag.c Change the license of strace to LGPL-2.1-or-later 4 months ago
netlink_sock_diag.h Fix preprocessor indentation 3 months ago
netlink_unix_diag.c Change the license of strace to LGPL-2.1-or-later 4 months ago
nlattr.c nlattr: fix off-by-one error in indexed xlat lookup 4 months ago
nlattr.h Fix preprocessor indentation 3 months ago
nsfs.c Change the license of strace to LGPL-2.1-or-later 4 months ago
nsfs.h Fix preprocessor indentation 3 months ago
nsig.h Fix preprocessor indentation 3 months ago
numa.c Update copyright headers 1 month ago
number_set.c Update copyright headers 4 months ago
number_set.h Fix preprocessor indentation 3 months ago
oldstat.c Update copyright headers 4 months ago
open.c Change the license of strace to LGPL-2.1-or-later 4 months ago
or1k_atomic.c Fix preprocessor indentation 3 months ago
pathtrace.c Update copyright headers 1 month ago
perf.c Fix preprocessor indentation 3 months ago
perf_event_struct.h Fix preprocessor indentation 3 months ago
perf_ioctl.c Fix preprocessor indentation 3 months ago
personality.c Change the license of strace to LGPL-2.1-or-later 4 months ago
pkeys.c Add copyright headers to some files that lack them 4 months ago
poll.c Change the license of strace to LGPL-2.1-or-later 4 months ago
prctl.c Update copyright headers 1 month ago
print_aio_sigset.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_dev_t.c Update copyright headers 4 months ago
print_fields.h Update copyright headers 1 month ago
print_group_req.c Update copyright headers 4 months ago
print_ifindex.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_instruction_pointer.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_kernel_version.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_mac.c Update copyright headers 1 month ago
print_mq_attr.c Update copyright headers 4 months ago
print_msgbuf.c Update copyright headers 4 months ago
print_sg_req_info.c Fix preprocessor indentation 3 months ago
print_sigevent.c Update copyright headers 4 months ago
print_statfs.c Update copyright headers 4 months ago
print_struct_stat.c Update copyright headers 4 months ago
print_time.c Update copyright headers 4 months ago
print_timespec.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_timeval.c Change the license of strace to LGPL-2.1-or-later 4 months ago
print_timex.c Update copyright headers 4 months ago
print_utils.h Generalise some printing primitives 2 months ago
printmode.c Change the license of strace to LGPL-2.1-or-later 4 months ago
printrusage.c Update copyright headers 4 months ago
printsiginfo.c Fix preprocessor indentation 3 months ago
printsiginfo.h Fix preprocessor indentation 3 months ago
process.c Fix preprocessor indentation 3 months ago
process_vm.c Update copyright headers 4 months ago
ptp.c Change the license of strace to LGPL-2.1-or-later 4 months ago
ptrace.h Fix preprocessor indentation 3 months ago
ptrace_syscall_info.c Update copyright headers 1 month ago
ptrace_syscall_info.h Fix preprocessor indentation 3 months ago
quota.c quotactl: add xlat styles support 4 months ago
random_ioctl.c Fix preprocessor indentation 3 months ago
readahead.c Add copyright headers to some files that lack them 4 months ago
readlink.c Update copyright headers 4 months ago
reboot.c Add copyright headers to some files that lack them 4 months ago
regs.h Fix preprocessor indentation 3 months ago
renameat.c Add copyright headers to some files that lack them 4 months ago
resource.c Update copyright headers 1 month ago
retval.c Change the license of strace to LGPL-2.1-or-later 4 months ago
retval.h Fix preprocessor indentation 3 months ago
riscv.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rt_sigframe.c Fix preprocessor indentation 3 months ago
rt_sigreturn.c Update copyright headers 4 months ago
rtc.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_addr.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_addrlabel.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_dcb.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_link.c Fix preprocessor indentation 3 months ago
rtnl_mdb.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_neigh.c Update copyright headers 1 month ago
rtnl_neightbl.c Fix preprocessor indentation 3 months ago
rtnl_netconf.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_nsid.c Update copyright headers 1 month ago
rtnl_route.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_rule.c Change the license of strace to LGPL-2.1-or-later 4 months ago
rtnl_tc.c rtnl_tc: add TCA_STATS_BASIC_HW 4 months ago
rtnl_tc_action.c Update copyright headers 4 months ago
s390.c Fix preprocessor indentation 3 months ago
sched.c Change the license of strace to LGPL-2.1-or-later 4 months ago
sched_attr.h Fix preprocessor indentation 3 months ago
scno.am ia64: make syscall entry table numbers more readable 1 week ago
scno.head Add copyright headers to some files that lack them 4 months ago
scsi.c Update copyright headers 4 months ago
seccomp.c Update copyright headers 4 months ago
sendfile.c Update copyright headers 4 months ago
sg_io_v3.c Fix preprocessor indentation 3 months ago
sg_io_v4.c Fix preprocessor indentation 3 months ago
shutdown.c Update copyright headers 4 months ago
sigaltstack.c Update copyright headers 4 months ago
sigevent.h Fix preprocessor indentation 3 months ago
signal.c Update copyright headers 1 month ago
signalfd.c Update copyright headers 4 months ago
sigreturn.c Add copyright headers to some files that lack them 4 months ago
sock.c Fix preprocessor indentation 3 months ago
sockaddr.c Update copyright headers 1 month ago
socketcall.c Change the license of strace to LGPL-2.1-or-later 4 months ago
socketutils.c Fix preprocessor indentation 3 months ago
sparc.c Change the license of strace to LGPL-2.1-or-later 4 months ago
sram_alloc.c Fix preprocessor indentation 3 months ago
stat.c Update copyright headers 4 months ago
stat.h Fix preprocessor indentation 3 months ago
stat64.c Update copyright headers 4 months ago
statfs.c Add copyright headers to some files that lack them 4 months ago
statfs.h Fix preprocessor indentation 3 months ago
statfs64.c Add copyright headers to some files that lack them 4 months ago
static_assert.h Fix preprocessor indentation 3 months ago
statx.c Update copyright headers 4 months ago
statx.h Fix preprocessor indentation 3 months ago
strace-graph Update copyright headers 4 months ago
strace-log-merge strace-log-merge: enhance pid formatting 1 month ago
strace-log-merge.1.in Change the license of strace to LGPL-2.1-or-later 4 months ago
strace.1.in Change -D option to imply -I4 1 month ago
strace.c Update copyright headers 1 month ago
strace.spec.in Post-release administrivia 1 month ago
strace.svg Add strace mascot 1 year ago
string_to_uint.c Change the license of strace to LGPL-2.1-or-later 4 months ago
string_to_uint.h Fix preprocessor indentation 3 months ago
swapon.c Add copyright headers to some files that lack them 4 months ago
sync_file_range.c Update copyright headers 4 months ago
sync_file_range2.c Update copyright headers 4 months ago
syscall.c Update copyright headers 1 month ago
sysctl.c Update copyright headers 4 months ago
sysent.h Fix preprocessor indentation 3 months ago
sysent_shorthand_defs.h Add copyright headers to some files that lack them 4 months ago
sysent_shorthand_undefs.h Add copyright headers to some files that lack them 4 months ago
sysinfo.c Update copyright headers 4 months ago
syslog.c syslog: move constant definitions to xlat 4 months ago
sysmips.c Fix preprocessor indentation 3 months ago
term.c Change the license of strace to LGPL-2.1-or-later 4 months ago
time.c Change the license of strace to LGPL-2.1-or-later 4 months ago
times.c Change the license of strace to LGPL-2.1-or-later 4 months ago
trace_event.h Fix preprocessor indentation 3 months ago
truncate.c Add copyright headers to some files that lack them 4 months ago
ubi.c Update copyright headers 4 months ago
ucopy.c Change the license of strace to LGPL-2.1-or-later 4 months ago
uid.c Change the license of strace to LGPL-2.1-or-later 4 months ago
uid16.c Add copyright headers to some files that lack them 4 months ago
umask.c Add copyright headers to some files that lack them 4 months ago
umount.c Add copyright headers to some files that lack them 4 months ago
uname.c Update copyright headers 4 months ago
unwind-libdw.c Change the license of strace to LGPL-2.1-or-later 4 months ago
unwind-libunwind.c Change the license of strace to LGPL-2.1-or-later 4 months ago
unwind.c Change the license of strace to LGPL-2.1-or-later 4 months ago
unwind.h Fix preprocessor indentation 3 months ago
upeek.c Update copyright headers 4 months ago
upoke.c Change the license of strace to LGPL-2.1-or-later 4 months ago
userfaultfd.c Fix preprocessor indentation 3 months ago
ustat.c Update copyright headers 4 months ago
util.c Update copyright headers 1 month ago
utime.c Add copyright headers to some files that lack them 4 months ago
utimes.c Update copyright headers 4 months ago
v4l2.c Update copyright headers 1 month ago
wait.c Use sprintsigname for converting signal number to string 4 months ago
wait.h Fix preprocessor indentation 3 months ago
xattr.c Update copyright headers 4 months ago
xfs_quota_stat.h Add copyright headers to some files that lack them 4 months ago
xlat.c xlat_idx: do not issue warnings for holes in indices 4 months ago
xlat.h Fix preprocessor indentation 3 months ago
xmalloc.c Update copyright headers 4 months ago
xmalloc.h Fix preprocessor indentation 3 months ago
xstring.h Fix preprocessor indentation 3 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