Red Hat Training

A Red Hat training course is available for Red Hat Developer Toolset

A.7. Changes in strace

Red Hat Developer Toolset 4.0 is distributed with strace 4.10, which provides a number of bug fixes and feature enhancements over the version included in Red Hat Enterprise Linux and the previous version of Red Hat Developer Toolset. Below is a comprehensive list of new features in this release.

A.7.1. Changes Since Red Hat Developer Toolset 3.1 and Red Hat Enterprise Linux 6.7 and 7.2

The following improvements have been added since the release of strace in Red Hat Developer Toolset 3.1 and Red Hat Enterprise Linux 6.7 and 7.2:
  • An experimental option, -k, has been added, which prints the execution stack trace of traced processes after each system call.
  • A new option, -w, has been added, which produces statistics on the differences between the start and end of every system call.
  • A new option, -yy, has been added to print protocol and address information associated with socket file descriptors.
  • The -e read=set and -e write=set options have been extended to cover the following system calls: sendmsg, recvmsg, sendmmsg, and recvmmsg.
  • Full decoding of 64-bit capability sets has been implemented.
  • Support for the Bionic and musl standard C libraries has been improved.
  • Tracing of x86 personality processes has been improved.
  • The decoding of the following system calls has been implemented: add_key, getrandom, ioprio_get, ioprio_set, kexec_load, keyctl, renameat2, request_key, and seccomp.
  • The decoding of the select, pselect, and io_submit system calls has been made more robust.
  • The decoding of the following system calls has been improved: delete_module, fanotify_init, fanotify_mark, fcntl, getsockopt, setdomainname, sethostname, setns, setsockopt, sync_file_range, and sysinfo.
  • The socket decoder has been enhanced to support Bluetooth sockets.
  • The decoding of the following has been implemented:
    • all prctl commands
    • parametrized ioctl commands
    • evdev ioctl commands
    • v4l ioctl commands
    • SG_IO v4 ioctl commands
    • FIFREEZE, FITHAW, FITRIM ioctl commands
    • FALLOC_FL_* fallocate flags
    • rt_sigreturn signal mask
  • The decoding of the following has been improved:
    • signal bitmasks
    • file descriptors
    • the siginfo_t data structure
    • the PF_NETLINK preprocessor macro
    • unlisted ioctl commands
    • the cmsghdr struct
    • the wait status
  • The CAP_*, CLOCK_*, PR_*, PTRACE_*, SCHED_*, SO_*, SOL_*, SWAP_FLAG_*, and TFD_* constants have been updated.
  • New system call entries have been added to match Linux 3.19.
  • Lists of signal constants, errno constants, and ioctl commands have been updated from Linux 3.19.
  • The test that required a Red Hat Enterprise Linux 7 kernel has been disabled.