Linux repositories inspector

strace - Tracks and displays system calls associated with a running process

strace is a system call tracer, i.e. a debugging tool which prints out a trace of all the system calls made by a another process/program. The program to be traced need not be recompiled for this, so you can use it on binaries for which you don't have source.
System calls and signals are events that happen at the user/kernel interface. A close examination of this boundary is very useful for bug isolation, sanity checking and attempting to capture race conditions.
Original maintainer
Homepagehttps://strace.io
5.5
Arch iconArch rolling
Fedora iconFedora rawhide
OpenSUSE iconOpenSUSE Tumbleweed
5.3
Fedora iconFedora 31
OpenSUSE iconOpenSUSE Leap 15.2
5.0
Fedora iconFedora 30
Manjaro iconManjaro rolling
4.26
Debian iconDebian 10.0
Ubuntu iconUbuntu 19.10
Ubuntu iconUbuntu 20.04
4.25
Ubuntu iconUbuntu 19.04
4.24
Fedora iconFedora 29
4.22
Fedora iconFedora 28
4.21
Ubuntu iconUbuntu 18.04 LTS
Ubuntu iconUbuntu 18.10
4.20
OpenSUSE iconOpenSUSE Leap 15.0
OpenSUSE iconOpenSUSE Leap 15.1
4.15
Debian iconDebian 9.0
Ubuntu iconUbuntu 17.10
4.12
CentOS iconCentOS 7.7.1908
4.11
Ubuntu iconUbuntu 16.04 LTS
4.10
OpenSUSE iconOpenSUSE Leap 42.3
DistributionVersionSincePackageInstalledPackager
Arch iconArch rolling extra/oszst5.5-12020-02-10403 kiB1.53 MiB
CentOS iconCentOS 7.7.1908 osrpm4.12-9.el72020-01-07459 kiB1.75 MiBCentOS BuildSystem
Debian iconDebian 10.0 buster/maindeb4.26-0.22019-02-06877 kiB2 MiB
Debian iconDebian 9.0 stretch/maindeb4.15-22017-11-10521 kiB1.33 MiB
Fedora iconFedora 28 releases/Everything-osrpm4.22-1.fc282019-01-14811 kiB3.47 MiBFedora Project
Fedora iconFedora 29 releases/Everything-osrpm4.24-1.fc292019-01-14932 kiB2.14 MiBFedora Project
Fedora iconFedora 29 releases-test/Everything-osrpm4.24-1.fc292019-01-14932 kiB2.14 MiBFedora Project
Fedora iconFedora 30 releases/Everything-osrpm5.0-1.fc302019-06-17975 kiB2.7 MiBFedora Project
Fedora iconFedora 31 releases/Everything-osrpm5.3-1.fc312020-01-071.03 MiB2.24 MiBFedora Project
Fedora iconFedora rawhide development/Everything-osrpm5.5-1.fc322020-02-081.08 MiB2.26 MiBFedora Project
Manjaro iconManjaro rolling stable/extraxz5.0-12019-04-03348 kiB1.53 MiB
Manjaro iconManjaro rolling testing/extraxz5.0-12019-04-02348 kiB1.53 MiB
Manjaro iconManjaro rolling unstable/extraxz5.0-12019-03-26348 kiB1.53 MiB
OpenSUSE iconOpenSUSE Leap 15.0 ossrpm4.20-lp150.2.22019-01-17321 kiB1.27 MiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 15.1 ossrpm4.20-lp151.3.32019-01-23321 kiB1.27 MiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 15.2 ossrpm5.3-lp152.1.12020-01-07395 kiB1.52 MiBhttps://bugs.opensuse.org
OpenSUSE iconOpenSUSE Leap 42.3 ossrpm4.10-5.32019-01-17170 kiB572 kiBhttp://bugs.opensuse.org
OpenSUSE iconOpenSUSE Tumbleweed ossrpm5.5-1.12020-02-20374 kiB1.51 MiBhttps://bugs.opensuse.org
Ubuntu iconUbuntu 17.10 artful/maindeb4.15-2ubuntu32017-11-10222 kiB1.05 MiB
Ubuntu iconUbuntu 18.04 LTS bionic/maindeb4.21-1ubuntu12018-06-12326 kiB1.38 MiB
Ubuntu iconUbuntu 18.10 cosmic/maindeb4.21-1ubuntu12019-01-14326 kiB1.38 MiB
Ubuntu iconUbuntu 19.04 disco/maindeb4.25-0ubuntu12019-01-14360 kiB1.51 MiB
Ubuntu iconUbuntu 19.10 eoan/maindeb4.26-0.2ubuntu32019-06-17351 kiB1.48 MiB
Ubuntu iconUbuntu 20.04 focal/maindeb4.26-0.2ubuntu32020-01-07351 kiB1.48 MiB
Ubuntu iconUbuntu 16.04 LTS xenial/maindeb4.11-1ubuntu32017-11-10175 kiB892 kiB

Manual pages

strace(1)

strace - trace system calls and signals

strace-log-merge(1)

strace-log-merge - merge strace -ff -tt output

Latest updates

OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 5.4-2.2 to 5.5-1.1

2020-02-20
  • Update to strace 5.5
    • Improvements
    • Added -e trace=%creds option for tracing syscalls related to process credentials.
    • Enhanced decoding of arch_prctl, keyctl, io_uring_register, io_uring_setup, and perf_event_open syscalls.
    • Enhanced decoding of BPF_PROG_LOAD bpf syscall command.
    • Updated decoding of clone3 syscall to match Linux 5.5.
    • Implemented decoding of TCA_ACT_FLAGS and TCA_STATS_PKT64 netlink attributes.
    • Updated lists of AUDIT_*, BPF_*, CLONE_*, KEY_*, KVM_*, PPC_PTRACE_*, SCTP_*, STATX_*, TIPC_*, V4L2_*, and *_MAGIC constants.
    • Updated lists of ioctl commands from Linux 5.5.
    • Enhanced manual page and "strace --help" output.
    • Bug fixes
    • Fixed stack trace printing for early syscalls when strace is configured to use libdw backend for stack tracing (addresses Fedora bug #1788636).
    • Fixed stack trace caching when --seccomp-bpf option is specified.
    • Fixed potentially unaligned access in decoder of SO_TIMESTAMP*_NEW control messages.
    • Fixed decoding of NDA_LLADDR netlink neighbor table attribute.
    • Fixed build of mpers support when CFLAGS contains -flto.
    • Fixed build on no-MMU architectures.
    • Fixed build with glibc-2.31 and Linux kernel headers < 5.3.
    • Fixed tests for glibc-2.31.
Arch icon

Arch rolling testing/os: Version 5.5-1 removed

2020-02-10
Arch icon

Arch rolling extra/os: Updated from 5.4-1 to 5.5-1

2020-02-10
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 5.4-2.1 to 5.4-2.2

2020-02-09
  • Use -ffat-lto-objects to work around mpers.sh failure
Fedora icon

Fedora rawhide development/Everything-os: Updated from 5.3-1.fc32 to 5.5-1.fc32

2020-02-08
  • v5.4 -> v5.5.
Arch icon

Arch rolling testing/os: Version 5.5-1 introduced

2020-02-06
Fedora icon

Fedora 31 releases/Everything-os: Version 5.3-1.fc31 introduced

2020-01-07
  • v5.2 -> v5.3.
OpenSUSE icon

OpenSUSE Leap 15.2 oss: Version 5.3-lp152.1.1 introduced

2020-01-07
  • Update to strace 5.3
    • Improvements
    • Implemented usage of seccomp-bpf for stopping tracees only for filtered syscalls. Use --seccomp-bpf option to enable.
    • Implemented decoding of pidfd_open and clone3 syscalls.
    • Enhanced decoding of io_cancel, io_submit, s390_sthyi, and syslog syscalls.
    • Enhanced decoding of NETLINK_ROUTE protocol.
    • Implemented decoding of UNIX_DIAG_UID netlink attribute.
    • Implemented decoding of WDIOC_* ioctl commands.
    • Enchanced syscall count statistics: overhead is now applied per-call, added ability for sorting on errors field.
    • Syscall delay injection and overhead values can now be supplied with time measure unit suffix and provided in IEEE 754 floating point format.
    • Updated lists of AUDIT_*, BPF_*, ETH_*, KEYCTL_*, KVM_*, MAP_*, SO_*, TCP_*, V4L2_*, XDP_*, and *_MAGIC constants.
    • Updated lists of ioctl commands from Linux 5.3.
    • Enhanced manual page.
    • Bug fixes
    • Fixed syscall tampering on arc, avr32, csky, ia64, m68k, metag, mips, nios2, or1k, riscv, s390, s390x, sparc, sparc64, and tile architectures when PTRACE_GET_SYSCALL_INFO is in use.
    • Fixed decoding of sockaddr_hci (AF_BLUETOOTH) addresses that lack hci_channel field.
    • Fixed evdev ioctl bitset decoding.
    • Fixed tests on alpha with Linux kernel headers 5.1+.
    • Portability
    • Removed support for decoding syscalls in range [1024...1079] on AArch64 architecture as this range has never been implemented in mainline kernel releases.
CentOS icon

CentOS 7.7.1908 os: Version 4.12-9.el7 introduced

2020-01-07
  • Patch files in tests-m32 and tests-mx32 as well. (#1600210)
Ubuntu icon

Ubuntu 20.04 focal/main: Version 4.26-0.2ubuntu3 introduced

2020-01-07
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 5.4-1.1 to 5.4-2.1

2020-01-04
  • Use -ffat-lto-objects to work around mpers.sh failure
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 5.3-1.1 to 5.4-1.1

2019-12-06
  • Update to strace 5.4
    • Improvements
    • Implemented -DD and -DDD options that move strace into a separate process group and session, respectively.
    • Enhanced seccomp-bpf tracee syscall filtering support by implementing new "binary match" BPF program generation strategy and automatically choosing the strategy that generates the shortest BPF program.
    • Implemented decoding of BPF_BTF_GET_NEXT_ID bpf syscall command.
    • Enhanced decoding of BPF_MAP_LOOKUP_ELEM bpf syscall command.
    • Implemented PTP_CLOCK_GETCAPS2, PTP_EXTTS_REQUEST2, PTP_PEROUT_REQUEST2, PTP_ENABLE_PPS2, and PTP_SYS_OFFSET2 ioctl decoding.
    • Updated lists of BPF_*, CAN_*, KEXEC_*, KVM_*, MADV_*, MSG_*, P_*, PR_*, PTP_*, SCTP_*, and V4L2_* constants.
    • Implemented ability to build ARM EABI mpers support using a separate compiler on aarch64.
    • Updated lists of ioctl commands from Linux 5.4.
    • Enhanced manual page.
    • Bug fixes
    • Fixed -b execve when --seccomp-bpf option is specified.
    • Fixed decoding of BPF_PROG_LOAD bpf syscall command.
    • Fixed build on no-MMU architectures.
    • Fixed build on antique systems that do not provide necessary definitions of AUDIT_ARCH_* constants.
Arch icon

Arch rolling testing/os: Version 5.4-1 removed

2019-12-04
Arch icon

Arch rolling extra/os: Updated from 5.3-1 to 5.4-1

2019-12-04
Arch icon

Arch rolling testing/os: Version 5.4-1 introduced

2019-11-30
OpenSUSE icon

OpenSUSE Tumbleweed oss: Updated from 5.2-2.1 to 5.3-1.1

2019-10-01
  • Update to strace 5.3
    • Improvements
    • Implemented usage of seccomp-bpf for stopping tracees only for filtered syscalls. Use --seccomp-bpf option to enable.
    • Implemented decoding of pidfd_open and clone3 syscalls.
    • Enhanced decoding of io_cancel, io_submit, s390_sthyi, and syslog syscalls.
    • Enhanced decoding of NETLINK_ROUTE protocol.
    • Implemented decoding of UNIX_DIAG_UID netlink attribute.
    • Implemented decoding of WDIOC_* ioctl commands.
    • Enchanced syscall count statistics: overhead is now applied per-call, added ability for sorting on errors field.
    • Syscall delay injection and overhead values can now be supplied with time measure unit suffix and provided in IEEE 754 floating point format.
    • Updated lists of AUDIT_*, BPF_*, ETH_*, KEYCTL_*, KVM_*, MAP_*, SO_*, TCP_*, V4L2_*, XDP_*, and *_MAGIC constants.
    • Updated lists of ioctl commands from Linux 5.3.
    • Enhanced manual page.
    • Bug fixes
    • Fixed syscall tampering on arc, avr32, csky, ia64, m68k, metag, mips, nios2, or1k, riscv, s390, s390x, sparc, sparc64, and tile architectures when PTRACE_GET_SYSCALL_INFO is in use.
    • Fixed decoding of sockaddr_hci (AF_BLUETOOTH) addresses that lack hci_channel field.
    • Fixed evdev ioctl bitset decoding.
    • Fixed tests on alpha with Linux kernel headers 5.1+.
    • Portability
    • Removed support for decoding syscalls in range [1024...1079] on AArch64 architecture as this range has never been implemented in mainline kernel releases.
Fedora icon

Fedora rawhide development/Everything-os: Updated from 5.2-2.fc31 to 5.3-1.fc32

2019-09-29
  • v5.2 -> v5.3.
Arch icon

Arch rolling testing/os: Version 5.3-1 removed

2019-09-27
Arch icon

Arch rolling extra/os: Updated from 5.2-1 to 5.3-1

2019-09-27
Arch icon

Arch rolling testing/os: Version 5.3-1 introduced

2019-09-26

Related packages

strace-debuginfo - Debug information for package strace
strace-debugsource - Debug sources for package strace
⇧ Top