Noteworthy changes in strace 5.6 (2020-04-07)
-
Changes in behaviour
- Messages about unknown tracees are now subject to the strace's quietness setting (
-q
/--quiet
). - If -A option is provided without
-o
, or-S
option without-c
/-C
, a warning about its uselessness is printed now. - The usage of
--seccomp-bpf
without-f
has no effect now.
- Messages about unknown tracees are now subject to the strace's quietness setting (
-
Improvements
- Every short option now has a long option alias, which also has enabled the following improvements:
- Ability to use human-readable settings for
-I
/--interruptible
,-D
/--daemonize
options. - Ability to silence specific messages using
-e quiet
/--quiet
qualifier (an alias for the-q
option), including those that couldn't be silenced previously (path resolution messages and"superseded by execve"
). - Ability to specify selected fd decoding features using
-e decode-fds
/--decode-fds
qualifier (an alias for the-y
option). - Ability to set precision for the absolute timestamp, relative timestamp, and syscall time output (using
--absolute-timestamps
,--relative-timestamps
, and--syscall-times
options, respectively).
- Ability to use human-readable settings for
- Implemented ability to select the set of displayed columns in the call summary output (
-U
/--summary-columns
option). - Implemented ability to sort on any summary column.
- Implemented ability to show information about minimum and maximum call duration in the call summary output (addresses Debian bug #240945).
- Implemented printing of PIDs associated with pidfds in
-yy
mode. - Implemented
PTRACE_GETREGS
API support on hppa, sh, sh64, and xtensa. - Improved performance of libdw-based stack traces printing by implementing a symbol-to-address cache.
- Implemented decoding of
openat2
andpidfd_getfd
syscalls. - Enhanced
io_uring_register
,prctl
,sched_getattr
, andsched_setattr
syscall decoding. - Implemented decoding of
BPF_MAP_LOOKUP_BATCH
,BPF_MAP_LOOKUP_AND_DELETE_BATCH
,BPF_MAP_UPDATE_BATCH
, andBPF_MAP_DELETE_BATCH
bpf
syscall commands. - Enhanced decoding of
BPF_MAP_CREATE
andBPF_PROG_ATTACH
bpf
syscall commands. - Enhanced decoding of
RTC_VL_READ
ioctl command. - Enhanced decoding of
IFLA_*
netlink attributes. - Implemented
HIDIOCGRAWUNIQ()
ioctl command number printing. - Wired up
kexec_file_load
syscall on hppa. - Updated lists of
AUDIT_*
,BPF_*
,CLONE_*
,GRND_*
,IFLA_*
,IORING_*
,IPPROTO_*
,KEY_*
,KVM_*
,RTM_F_*
,SCHED_*
, and*_MAGIC
constants. - Updated lists of ioctl commands from Linux 5.6.
- Every short option now has a long option alias, which also has enabled the following improvements:
-
Bug fixes
- Fixed build on csky abiv1 architecture.
- Various minor fixes in
VIDIOC_*
ioctl output formatting. - Fix printing of the size field for
_IOC_NONE
ioctl command numbers on sparc.
-
Portability
- On hppa, linux kernel >= 4.7 is required. On sh and sh64, linux kernel >= 2.6.28 is required. Older versions without a decent
PTRACE_GETREGS
support will not work.
- On hppa, linux kernel >= 4.7 is required. On sh and sh64, linux kernel >= 2.6.28 is required. Older versions without a decent
Contributors
This release was made possible by the contributions of many people.
The maintainers are grateful to everyone who has contributed
changes or bug reports. These include:
- Alistair Francis
- Dmitry V. Levin
- Eugene Syromyatnikov
- Gleb Fotengauer-Malinovskiy
- Jann Horn
- Ma Jun
- Masatake YAMATO
- Paul Chaignon
- Philippe De Muyter
Please refer to the CREDITS file for the full list of strace contributors.
Downloads
Please ignore so called "Source code" links provided by github, they are useless.