2013-06-06 01:33:45 +04:00
Noteworthy changes in release ?.? (????-??-??)
==============================================
2014-05-28 20:52:40 +04:00
* Improvements
* Added -w option to produce stats on syscall latency
2013-06-03 16:34:56 +04:00
Noteworthy changes in release 4.8 (2013-06-03)
2013-05-01 03:52:12 +04:00
==============================================
2012-05-03 03:00:34 +04:00
2013-06-03 16:34:56 +04:00
* Changes in behavior
* In case of normal strace termination, when the trace output is
redirected to a pipe, strace now closes it and waits for the pipe
process termination before exit.
* Improvements
* Implemented tracing using PTRACE_SEIZE API (when available).
* Implemented more reliable PTRACE_GETREGSET-based process personality
detection on x86-64 and x32 (when available).
* Added -e trace=memory option for tracing memory mapping related syscalls.
* Documented -b option.
* Allowed exit status messages to be suppressed by giving -q option twice.
* Added AArch64 architecture support
(addresses Debian bug #693074 and Fedora bug #969858).
* Added support for OpenRISC 1000, Meta, and Xtensa architectures.
* Added tilegx personality support for Tile.
* Enhanced support of NOMMU architectures.
* Enhanced decoding of getdents, mmap, perf_event_open, ptrace, and
quotactl syscalls.
* Added new syscall entries to match Linux 3.9.
2013-06-03 20:24:53 +04:00
* Regenerated the list of common ioctl names from Linux 3.9.
2013-06-03 16:34:56 +04:00
* Updated the list of errno constants.
* Updated lists of AF_*, MADV_*, MAP_*, MSG_*, MS_*, PF_*, PR_*,
PTRACE_O_*, and TCP_* constants.
* Implemented decoding of UBI ioctls.
* Removed redundant "*32" ioctl names.
* Bug fixes
* Fixed ERESTARTNOINTR leaking to userspace on ancient kernels
(addresses Fedora bug #659382).
* Fixed kernel release string parsing
(addresses Debian bug #702309).
* Fixed decoding of *xattr syscalls
(addresses Fedora bug #885233).
* Fixed handling of files with 64-bit inode numbers by 32-bit strace
(addresses Fedora bug #912790).
* Fixed tracing forks on SPARC.
* Fixed decoding of fadvise64, fallocate, ftruncate64, io_submit, pread,
preadv, pwrite, pwritev, readahead, sigaltstack, sync_file_range, sysctl,
and truncate64 syscalls.
* Fixed categories of multiple syscalls on most of supported architectures.
* Fixed decoding of non-native 32-bit personality recv[m]msg syscalls.
* Fixed decoding of multiple 32-bit personality syscalls on x32.
* Fixed decoding of long long syscall arguments on ARM, MIPS/o32, PowerPC,
S390x, and Tile architectures.
* Fixed semtimedop decoding on S390x.
* Fixed sram_alloc decoding on Blackfin.
* Fixed build when process_vm_readv is a stab.
* Fixed build with older versions of libaio.h.
2013-05-01 03:52:12 +04:00
Noteworthy changes in release 4.7 (2012-05-02)
==============================================
2012-04-20 21:32:50 +04:00
* Changes in behavior
* strace no longer suspends waitpid until there is a child
for waitpid'ing process to collect status from.
* strace no longer detaches from a tracee which is supposed
to be going to die.
* strace now issues a new message: "+++ exited with EXITCODE +++"
which shows exact moment strace got exit notification,
analogous to existing "+++ killed by SIG +++" message.
* Improvements
2012-04-28 03:13:55 +04:00
* Added x32 personality support (x86_64 architecture).
2012-04-20 21:32:50 +04:00
* Added -y and -P options to print file descriptor paths and
filter by those paths.
* Added -I option to control strace interactivity.
* Allowed -p option to take comma or whitespace-separated list of PIDs.
* Added strace_log_merge script helper to merge timestamped "strace -ff"
log files.
* Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
2012-05-02 01:04:18 +04:00
recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
2012-04-20 21:32:50 +04:00
sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
* Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
listxattr, setrlimit and swapon syscalls.
* Implemented decoding of loop and mtd ioctls.
* Added syscall entries for new linux syscalls.
* Added syscall entries for direct socket system calls on powerpc.
* Updated the list of errno constants.
2012-05-02 01:17:51 +04:00
* Updated lists of MSG_*, STA_*, and TCP_* constants.
2012-04-20 21:32:50 +04:00
* Regenerated the list of ioctl names from Linux 3.3.
* Enhanced switching between processes with different personalities.
* Enhanced signals reporting by using short signal names.
* Made ERESTART* messages more descriptive.
* Made parsing of numbers from strings more robust.
* Added support for compat_statfs64 and statfs64.f_flags.
* Changed read of data blocks to use single process_vm_readv syscall
(when available) instead of several PTRACE_PEEKDATA operations.
* Changed read of registers on x86 and x86-64 to use single PTRACE_GETREGS
operation instead of several PTRACE_PEEKUSER operations.
* Applied various optimizations to make strace work faster.
* Bug fixes
* Implemented proper handling of real SIGTRAPs on kernels supporting
PTRACE_O_TRACESYSGOOD.
(Addresses Fedora bug #162774).
* Fixed sockaddr_un.sun_path name in decoded output.
(Addresses Debian bug #554946).
* Fixed to avoid potential core file clobbering on exit.
(Addresses Debian bug #656398).
* Fixed a typo in documentation.
(Addresses Debian bug #653309).
* Fixed decoding of timer id returned by timer_create.
* Fixed epoll_create1, epoll_wait and epoll_pwait decoding.
* Fixed *at syscalls flags decoding.
* Fixed ARM EABI 64-bit syscall's arguments decoding.
* Fixed semtimedop decoding on s390.
* Fixed osf_sigprocmask decoding on alpha.
* Fixed ipc and socket subcall decoding on several architectures.
* Corrected syscall entries for epoll_pwait, epoll_create, epoll_ctl,
epoll_wait, mincore, mlockall, prctl, reboot, sendfile, sendfile64,
sendmsg, sgetmask, ssetmask, swapon, tgkill and tkill syscalls.
2012-04-28 03:13:55 +04:00
* Corrected io_* syscall entries on ARM.
2012-04-20 21:32:50 +04:00
* Fixed PID prefix printing in "strace -oLOG -ff -p1 -p2 -p3" case.
* Fixed logging of unfinished lines in "strace -oLOG -ff" case.
* Fixed build when libaio-devel is not available.
* Fixed configure checks for PTRACE_* constants.
* Fixed compilation warnings remained on several architectures.
* Portability
* Removed all non-Linux code. After years of neglect, that dead code
just hampered further strace development.
2012-05-02 01:04:18 +04:00
* Linux kernel >= 2.6.18 is recommended. Older versions might still
work but they haven't been thoroughly tested with this release.
2012-04-20 21:32:50 +04:00
2013-05-01 03:52:12 +04:00
Noteworthy changes in release 4.6 (2011-03-15)
==============================================
2011-02-22 01:58:59 +03:00
* Changes in behavior
* Print diagnostic information about changes in personality mode to
standard error instead of standard output.
* Improvements
* Implemented a new method of following clone, fork, and vfork
syscalls using the Linux kernel's explicit facilities for tracing
creation of threads and child processes.
* Implemented CLONE_PARENT and CLONE_UNTRACED flags handling.
* Implemented decoding of TLS syscalls on m68k.
* Implemented biarch support on powerpc64.
* Implemented biarch support for getrlimit() and setrlimit().
* Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
* Implemented SOL_SCTP socket options decoding.
* Added HDIO_* ioctl names.
(Addresses Debian bug #450953).
* Added LOOP_* ioctl names.
* Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants
to match Linux 2.6.37.
* Updated the list of IPPROTO_* constants to match netinet/in.h.
* Implemented decoding of HDIO_* and BLK* ioctls.
* Added MicroBlaze architecture support.
* Added new syscall entries to match Linux 2.6.37.
* Regenerated list of ioctl names from Linux 2.6.37.
* Enhanced signal notification decoding.
* Documented -C and -D options.
* Bug fixes
* Fixed fetching syscall arguments on m68k.
* Fixed an error when judging whether a process has children.
* Fixed get/set_robust_list syscall numbers for powerpc.
* Fixed a corner case in printing clone flags.
* Fixed cross-compiling issues.
* Fixed build issues on powerpc64, SH and SPARC.
* Fixed syscall flags of fstatat*, mmap, mmap2, fadvise64*, swapoff,
fgetxattr, flistxattr, fremovexattr, epoll_create, fallocate,
fanotify_init, and fanotify_mark syscalls.
* Fixed decoding of get[ug]id, gete[ug]id and setfs[ug]id return values.
* Fixed biarch support in IO dumping.
* Fixed raw exit_group decoding.
* Fixed decoding of file descriptors on 64-bit architectures.
* Fixed a corner case in waitpid handling.
(Addresses Red Hat bug #663547).
* Fixed stat64 decoding on mips
(Addresses Debian bug #599028).
* Fixed misleading italics in the manual page.
(Addresses Debian bug #589323).
2013-05-01 03:52:12 +04:00
Noteworthy changes in release 4.5.20 (2010-04-13)
=================================================
2010-04-07 03:46:43 +04:00
* Improvements
* Implemented decoding of new linux syscalls: inotify_init1, recvmmsg.
* Implemented basic decoding of new linux syscalls: preadv, pwritev,
rt_tgsigqueueinfo, perf_event_open.
* Enhanced decoding of recently added syscalls on non-x86 architectures
by replacing a bare decoder with elaborate parsers enabled earlier
for x86/x86-64.
* Implemented -C option to combine regular and -c output.
(Addresses Debian bug #466196)
* Enhanced decoding of mbind and mremap syscalls.
* Enhanced SOL_PACKET socket options decoding.
* Regenerated list of ioctl names from linux 2.6.33.
* Added TILE architecture support.
* Bug fixes
* Fixed build with Linux kernel headers 2.6.32-rc5+.
(Addresses Debian bug #560516 and Fedora bug #539044)
* Fixed build on mips.
* Fixed handling of Linux systems without struct statfs64.
* Fixed reporting signal mask by sigreturn on powerpc.
* Fixed potential stack buffer overflow in select decoder.
(Addresses Fedora bug #556678)
* Corrected msgsnd indirect ipccall decoding.
* Corrected decoding of 64bit syscalls.
(Addresses Debian bug #570603)
* Corrected getsockopt decoding on architectures where
sizeof(long) > sizeof(int).
(Addresses Debian bug #494844)
* Corrected decoding of epoll_pwait.
(Addresses Debian bug #513014)
* Corrected handling of killed threads.
2013-05-01 03:52:12 +04:00
Noteworthy changes in release 4.5.19 (2009-10-21)
=================================================
2009-09-14 20:34:34 +04:00
* Changes in behavior
* When command exits, strace now exits with the same exit status.
If command is terminated by a signal, strace terminates itself
with the same signal, so that strace can be used as a wrapper
process transparent to the invoking parent process.
When using -p option, the exit status of strace is zero unless
there was an unexpected error in doing the tracing.
(Addresses Fedora bug #105371 and Debian bug #37665)
* Improvements
* Implemented decoding of new Linux syscalls: accept4, dup3,
epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4.
* Implemented decoding of socket type flags introduced in Linux 2.6.27.
* Implemented decoding of accept4 socketcall.
* Enhanced prctl decoding.
* Enhanced nanosleep decoding.
* Enhanced ptrace decoding.
* Enhanced futex decoding.
* Enhanced CAP_* decoding.
* Enhanced SIOCS* ioctls decoding.
* Enhanced fcntl F_* flags decoding.
2009-10-09 02:28:57 +04:00
* Enhanced semop/semtimedop decoding.
2009-09-14 20:34:34 +04:00
* Updated ARM architecture support.
* Added Blackfin architecture support.
* Added AVR32 architecture support.
* Added CRIS architecture support.
* Made strace detect when traced process suddenly disappeared.
* Bug fixes
* Fixed syscall numbers for tee and sync_file_range.
(Addresses Debian bug #503124)
* Fixed several bugs in strings decoder, including potential heap
memory corruption.
(Addresses Fedora bugs #470529, #478324 and #511035)
* Marked sendfile(2) as a network syscall.
(Addresses Debian bug #509499)
* Fixed accept(2) decoding.
2010-04-07 03:46:43 +04:00
(Addresses Debian bug #507573)
2009-09-14 20:34:34 +04:00
* Fixed sigtimedwait(2) decoding.
* Fixed build on ARM EABI.
(Addresses Debian bugs #520084 and #535564, and Fedora bug #507576)
* Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
(Addresses Red Hat bug #471169)
* Fixed display of 32-bit argv array on 64-bit architectures.
(Addresses Fedora bug #519480)
* Fixed display of 32-bit struct sigaction on 64-bit architectures.
2009-10-06 14:40:17 +04:00
* Fixed HPPA architecture support.
(Addresses Debian bugs #437928 and #546619)
2009-09-14 20:34:34 +04:00
2008-08-29 02:00:46 +04:00
Changes in 4.5.18
==============
* Bug fixes.
* Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
* In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
2008-07-18 06:21:11 +04:00
Changes in 4.5.17
==============
* Many bug fixes.
* -F is now deprecated, -f has traced vfork too on Linux for a long time now.
* Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
* Improved output for prctl system call on Linux.
* Improved support for Linux/ARM.
* SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
2007-08-03 14:28:55 +04:00
Changes in 4.5.16
==============
* Bug fixes.
* Improved output for delete_module, futex, and mbind system calls on Linux.
* Improved output for SG_IO ioctls on Linux.
* Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
eventfd, getcpu, epoll_pwait.
2007-01-12 01:22:42 +03:00
Changes in 4.5.15
==============
* Bug fixes.
* Several biarch improvements.
2007-01-17 02:25:34 +03:00
* Improved output for adjtimex, sysctl, quotactl, mount, umount.
2007-01-12 01:22:42 +03:00
* Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
2006-01-17 09:22:57 +03:00
Changes in 4.5.14
==============
* Bug fixes.
* Accept numeric system calls in -e.
2005-08-03 15:42:35 +04:00
Changes in 4.5.13
==============
* Bug fixes.
* Introduce "-e trace=desc".
2005-06-10 07:56:16 +04:00
Changes in 4.5.12
==============
* Bug fixes.
* Better x86-64 support for IA32 processes.
* Update PowerPC system calls.
* Better printing for Linux aio system calls.
2005-03-23 02:12:39 +03:00
Changes in 4.5.11
==============
* Quick fix release for build issues.
* One fix for Linux/ARM system call table.
2005-03-15 05:40:12 +03:00
Changes in 4.5.10
==============
* Bug fixes.
* Print fault address for SIGSEGV/SIGBUS signals when available.
2005-02-04 12:29:04 +03:00
Changes in 4.5.9
==============
* Bug fixes.
* Improve socket ioctl printing.
* Update Linux/IA64 syscall list.
* Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
* Improve mount flags printing.
* Support symbolic printing of x86_64 arch_prctl parameters.
2004-10-20 06:17:52 +04:00
Changes in 4.5.8
==============
* Bug fixes.
* Update syscall tables for Alpha, ARM, HPPA.
* Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
* Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
* Improve ioctl command name matching.
* Print RTC_* ioctl structure contents.
* Support newer RLIMIT_* values.
* Print struct cmsghdr details in sendmsg.
2004-08-31 12:17:20 +04:00
Changes in 4.5.7
==============
* Bug fixes.
* Print attribute values in *xattr system calls on Linux.
* Include pread and pwrite calls in -e read and -e write tracing.
* Update SO_* and IP_* value lists and add IPV6_* values for socket options.
* Print clock_t values symbolically in Linux clock_* system calls.
2004-07-12 11:55:48 +04:00
Changes in 4.5.6
==============
* Bug fixes, Linux ioctl updates.
* David Miller contributed support for Linux/SPARC64.
2004-06-28 09:24:29 +04:00
Changes in 4.5.5
==============
* Just bug fixes.
2004-06-04 06:35:58 +04:00
Changes in 4.5.4
==============
* Update Linux ioctl lists.
* Update PF_* and AF_* value lists.
* The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
2004-04-09 04:25:38 +04:00
Changes in 4.5.3
==============
* Bug fixes.
* On Linux using NPTL threads, -p will now attach to all threads in a process.
2004-04-17 01:54:56 +04:00
* Handle new mq_* system calls in Linux 2.6.6 and later.
2004-04-09 04:25:38 +04:00
2004-03-02 09:38:35 +03:00
Changes in 4.5.2
==============
* Bug fixes.
* Report some new VM_* bit values on Linux.
* Better output for Linux sched_* system calls.
2003-11-14 05:57:22 +03:00
Changes in 4.5.1
==============
* Bug fixes.
* Display multiple ioctl name matches on Linux.
2003-09-25 02:22:38 +04:00
Changes in 4.5
2002-09-23 17:30:09 +04:00
==============
2002-12-18 07:36:59 +03:00
* New port to AMD's x86-64 architecture. One strace binary can
2002-09-23 17:30:09 +04:00
handle both new x86-64 and old i386 processes.
* Fixed support for LFS64 calls.
2003-01-24 07:31:23 +03:00
* New switch -E to add/remove environment variables for the command.
2002-11-06 16:19:15 +03:00
* Merged s390/s390x port.
2002-12-18 07:36:59 +03:00
* Trace an unbounded number of processes.
2003-01-09 09:56:39 +03:00
* Handle numerous new system calls in Linux 2.5, and new threads semantics.
2002-12-18 07:36:59 +03:00
* Fixed bugs with attach/detach leaving things stopped.
2002-12-22 06:36:03 +03:00
* Fixed traced process seeing ECHILD despite live, traced children
in waitpid calls with WNOHANG.
2003-03-31 05:21:36 +04:00
* Stuart Menefy contributed a port to Linux/SH.
2003-07-17 13:23:56 +04:00
* Stephen Thomas contributed a port to Linux/SH64.
2003-06-11 09:37:56 +04:00
* Many other bug fixes.
2002-09-23 17:30:09 +04:00
2001-08-19 15:57:48 +04:00
Changes in 4.4
==============
* Fix Linux/ia64 support, looks like someone renamed a few things on us
* Fix the ioctl setup for Linux, turned out it did not really work.
Improve the ioctl extracter as well so we decode some more ones.
2001-04-08 01:47:30 +04:00
Changes in 4.3.1
================
* compile fixes for Linux/mips
2000-02-14 19:23:40 +03:00
Changes in 4.3
==============
2001-04-01 18:05:04 +04:00
* Linux ia64 and hppa ports added
2000-07-05 20:05:39 +04:00
* The usual Linux syscall updates (includes 32bit uid/gid support),
2001-03-17 20:26:34 +03:00
* Linux ioctl list updated
2001-02-16 23:29:03 +03:00
* Support IPv6 scope ids
2001-04-01 18:05:04 +04:00
* FreeBSD/i386 port added
* UnixWare and Solaris updates
* Better support for tracing multithreaded processes in Linux
2000-02-14 19:23:40 +03:00
1999-12-23 17:20:14 +03:00
Changes in 4.2
==============
* Compiles on glibc2.0 systems again
* Linux/S390 port added
2002-12-18 07:36:59 +03:00
* The usual Linux syscall updates
1999-12-25 02:13:55 +03:00
* we can follow fork on arm now
1999-12-23 17:20:14 +03:00
1999-11-26 03:29:05 +03:00
Changes in 4.1
================
* Linux/MIPS port added
* Lots of Linux updates again
* Improved IPv6 support
* Add strace-graph
1999-07-25 16:29:49 +04:00
Changes in 4.0.1
================
* Minor bugfixes
* Compiles on glibc2.0 systems again
1999-07-09 18:08:14 +04:00
Changes in 4.0
==============
* Get stat structure properly on Linux 64bit archs
* Personalities work again
* Compile correctly on SunOS again
* IRIX64 updates
* Solaris updates
1999-06-09 17:12:11 +04:00
Changes in 3.99.1
1999-07-09 18:08:14 +04:00
=================
1999-06-09 17:12:11 +04:00
* Linux (ultra)sparc fixes
* Linux alpha fixes
* Minor cleanups
1999-04-19 02:50:50 +04:00
Changes in 3.99
===============
1999-04-16 00:34:14 +04:00
* New maintainer
* add support for more Linux architectures (powerpc, sparc, arm)
* support lots more Linux syscalls
* fix signal handling
* add IPX and IPIP support
* check stray syscall after execv
* fix hanging children
1999-02-19 03:21:36 +03:00
Changes in version 3.1
======================
* Irix5 is supported
* Linux 68k is supported
* Linux alpha is supported
* configure is upgraded to autoconf 2.x
* using -f in combination with -e now works correctly
* output can be piped to a program
* tracing setuid programs works better
* it is now reasonable to install strace setuid to root in some circumstances
* new useful tracing names like file and process to trace whole
classes of system calls, e.g. -efile traces all system calls that
take a file name as an argument
* IPC calls on SunOS 4.1.x are decoded
* Linux program memory is reliably dereferenced
* Linux decodes at least the name of all syscalls as of pre2.0.4
* various cosmetic changes and bug fixes
Changes from versions 2.x to version 3.0
========================================
* filename arguments are neither abbreviated nor stringified
* string arguments are now true C strings using octal instead of hex by default
* preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
* by default the output for multiple processes now goes into one file
* all structures, vectors, bitsets, etc. use consistent output formats
* the -c option now means count calls, -i does what the old -c used to do
New Features in version 3.0
===========================
* non-ascii strings can be optionally printed entirely in hex
* the output format is readable when mutiple processes are generating output
* exit values are printed in an alignment column
* is is possible to suppress messages about attaching and detaching
* various tracing features can be enabled on a per syscall/signal/desc basis
* selective tracing of syscalls
* selective printing of syscall structures
* selective abbreviation of long structures on a per syscall basis
* selective printing of raw syscall arguments and results
* selective tracing of signals
* selective dumping of all I/O read from file descriptors
* selective dumping of all I/O written to file descriptors
* optional counting of time, calls, and errors for each syscall