Show Table of Contents
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=setand-e write=setoptions have been extended to cover the following system calls:sendmsg,recvmsg,sendmmsg, andrecvmmsg. - 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, andseccomp. - The decoding of the
select,pselect, andio_submitsystem 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, andsysinfo. - 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_IOv4 ioctl commandsFIFREEZE,FITHAW,FITRIMioctl commandsFALLOC_FL_*fallocate flagsrt_sigreturnsignal mask
- The decoding of the following has been improved:
- signal bitmasks
- file descriptors
- the
siginfo_tdata structure - the
PF_NETLINKpreprocessor macro - unlisted ioctl commands
- the
cmsghdrstruct - the wait status
- The
CAP_*,CLOCK_*,PR_*,PTRACE_*,SCHED_*,SO_*,SOL_*,SWAP_FLAG_*, andTFD_*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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.