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