]> granicus.if.org Git - strace/blob - NEWS
unwind: enable dwarf cache of libunwind
[strace] / NEWS
1 Noteworthy changes in release ?.? (????-??-??)
2 ==============================================
3
4 * Improvements
5   * Added -w option to produce stats on syscall latency
6
7 Noteworthy changes in release 4.8 (2013-06-03)
8 ==============================================
9
10 * Changes in behavior
11   * In case of normal strace termination, when the trace output is
12     redirected to a pipe, strace now closes it and waits for the pipe
13     process termination before exit.
14
15 * Improvements
16   * Implemented tracing using PTRACE_SEIZE API (when available).
17   * Implemented more reliable PTRACE_GETREGSET-based process personality
18     detection on x86-64 and x32 (when available).
19   * Added -e trace=memory option for tracing memory mapping related syscalls.
20   * Documented -b option.
21   * Allowed exit status messages to be suppressed by giving -q option twice.
22   * Added AArch64 architecture support
23     (addresses Debian bug #693074 and Fedora bug #969858).
24   * Added support for OpenRISC 1000, Meta, and Xtensa architectures.
25   * Added tilegx personality support for Tile.
26   * Enhanced support of NOMMU architectures.
27   * Enhanced decoding of getdents, mmap, perf_event_open, ptrace, and
28     quotactl syscalls.
29   * Added new syscall entries to match Linux 3.9.
30   * Regenerated the list of common ioctl names from Linux 3.9.
31   * Updated the list of errno constants.
32   * Updated lists of AF_*, MADV_*, MAP_*, MSG_*, MS_*, PF_*, PR_*,
33     PTRACE_O_*, and TCP_* constants.
34   * Implemented decoding of UBI ioctls.
35   * Removed redundant "*32" ioctl names.
36
37 * Bug fixes
38   * Fixed ERESTARTNOINTR leaking to userspace on ancient kernels
39     (addresses Fedora bug #659382).
40   * Fixed kernel release string parsing
41     (addresses Debian bug #702309).
42   * Fixed decoding of *xattr syscalls
43     (addresses Fedora bug #885233).
44   * Fixed handling of files with 64-bit inode numbers by 32-bit strace
45     (addresses Fedora bug #912790).
46   * Fixed tracing forks on SPARC.
47   * Fixed decoding of fadvise64, fallocate, ftruncate64, io_submit, pread,
48     preadv, pwrite, pwritev, readahead, sigaltstack, sync_file_range, sysctl,
49     and truncate64 syscalls.
50   * Fixed categories of multiple syscalls on most of supported architectures.
51   * Fixed decoding of non-native 32-bit personality recv[m]msg syscalls.
52   * Fixed decoding of multiple 32-bit personality syscalls on x32.
53   * Fixed decoding of long long syscall arguments on ARM, MIPS/o32, PowerPC,
54     S390x, and Tile architectures.
55   * Fixed semtimedop decoding on S390x.
56   * Fixed sram_alloc decoding on Blackfin.
57   * Fixed build when process_vm_readv is a stab.
58   * Fixed build with older versions of libaio.h.
59
60 Noteworthy changes in release 4.7 (2012-05-02)
61 ==============================================
62
63 * Changes in behavior
64   * strace no longer suspends waitpid until there is a child
65     for waitpid'ing process to collect status from.
66   * strace no longer detaches from a tracee which is supposed
67     to be going to die.
68   * strace now issues a new message: "+++ exited with EXITCODE +++"
69     which shows exact moment strace got exit notification,
70     analogous to existing "+++ killed by SIG +++" message.
71
72 * Improvements
73   * Added x32 personality support (x86_64 architecture).
74   * Added -y and -P options to print file descriptor paths and
75     filter by those paths.
76   * Added -I option to control strace interactivity.
77   * Allowed -p option to take comma or whitespace-separated list of PIDs.
78   * Added strace_log_merge script helper to merge timestamped "strace -ff"
79     log files.
80   * Implemented decoding of clock_adjtime, get_robust_list, migrate_pages,
81     preadv, prlimit64, process_vm_readv, process_vm_writev, pwritev,
82     recvmmsg, recvmsg, rt_tgsigqueueinfo, sendmmsg, setns, set_robust_list,
83     sched_rr_get_interval, splice, syslog, tee and vmsplice syscalls.
84   * Enhanced decoding of capget, capset, getrlimit, flistxattr, io_submit,
85     listxattr, setrlimit and swapon syscalls.
86   * Implemented decoding of loop and mtd ioctls.
87   * Added syscall entries for new linux syscalls.
88   * Added syscall entries for direct socket system calls on powerpc.
89   * Updated the list of errno constants.
90   * Updated lists of MSG_*, STA_*, and TCP_* constants.
91   * Regenerated the list of ioctl names from Linux 3.3.
92   * Enhanced switching between processes with different personalities.
93   * Enhanced signals reporting by using short signal names.
94   * Made ERESTART* messages more descriptive.
95   * Made parsing of numbers from strings more robust.
96   * Added support for compat_statfs64 and statfs64.f_flags.
97   * Changed read of data blocks to use single process_vm_readv syscall
98     (when available) instead of several PTRACE_PEEKDATA operations.
99   * Changed read of registers on x86 and x86-64 to use single PTRACE_GETREGS
100     operation instead of several PTRACE_PEEKUSER operations.
101   * Applied various optimizations to make strace work faster.
102
103 * Bug fixes
104   * Implemented proper handling of real SIGTRAPs on kernels supporting
105     PTRACE_O_TRACESYSGOOD.
106     (Addresses Fedora bug #162774).
107   * Fixed sockaddr_un.sun_path name in decoded output.
108     (Addresses Debian bug #554946).
109   * Fixed to avoid potential core file clobbering on exit.
110     (Addresses Debian bug #656398).
111   * Fixed a typo in documentation.
112     (Addresses Debian bug #653309).
113   * Fixed decoding of timer id returned by timer_create.
114   * Fixed epoll_create1, epoll_wait and epoll_pwait decoding.
115   * Fixed *at syscalls flags decoding.
116   * Fixed ARM EABI 64-bit syscall's arguments decoding.
117   * Fixed semtimedop decoding on s390.
118   * Fixed osf_sigprocmask decoding on alpha.
119   * Fixed ipc and socket subcall decoding on several architectures.
120   * Corrected syscall entries for epoll_pwait, epoll_create, epoll_ctl,
121     epoll_wait, mincore, mlockall, prctl, reboot, sendfile, sendfile64,
122     sendmsg, sgetmask, ssetmask, swapon, tgkill and tkill syscalls.
123   * Corrected io_* syscall entries on ARM.
124   * Fixed PID prefix printing in "strace -oLOG -ff -p1 -p2 -p3" case.
125   * Fixed logging of unfinished lines in "strace -oLOG -ff" case.
126   * Fixed build when libaio-devel is not available.
127   * Fixed configure checks for PTRACE_* constants.
128   * Fixed compilation warnings remained on several architectures.
129
130 * Portability
131   * Removed all non-Linux code.  After years of neglect, that dead code
132     just hampered further strace development.
133   * Linux kernel >= 2.6.18 is recommended.  Older versions might still
134     work but they haven't been thoroughly tested with this release.
135
136 Noteworthy changes in release 4.6 (2011-03-15)
137 ==============================================
138
139 * Changes in behavior
140   * Print diagnostic information about changes in personality mode to
141     standard error instead of standard output.
142
143 * Improvements
144   * Implemented a new method of following clone, fork, and vfork
145     syscalls using the Linux kernel's explicit facilities for tracing
146     creation of threads and child processes.
147   * Implemented CLONE_PARENT and CLONE_UNTRACED flags handling.
148   * Implemented decoding of TLS syscalls on m68k.
149   * Implemented biarch support on powerpc64.
150   * Implemented biarch support for getrlimit() and setrlimit().
151   * Implemented decoding of struct ucred in getsockopt SO_PEERCRED.
152   * Implemented SOL_SCTP socket options decoding.
153   * Added HDIO_* ioctl names.
154     (Addresses Debian bug #450953).
155   * Added LOOP_* ioctl names.
156   * Updated lists of CLOCK_*, CLONE_*, MS_*, and SOL_* constants
157     to match Linux 2.6.37.
158   * Updated the list of IPPROTO_* constants to match netinet/in.h.
159   * Implemented decoding of HDIO_* and BLK* ioctls.
160   * Added MicroBlaze architecture support.
161   * Added new syscall entries to match Linux 2.6.37.
162   * Regenerated list of ioctl names from Linux 2.6.37.
163   * Enhanced signal notification decoding.
164   * Documented -C and -D options.
165
166 * Bug fixes
167   * Fixed fetching syscall arguments on m68k.
168   * Fixed an error when judging whether a process has children.
169   * Fixed get/set_robust_list syscall numbers for powerpc.
170   * Fixed a corner case in printing clone flags.
171   * Fixed cross-compiling issues.
172   * Fixed build issues on powerpc64, SH and SPARC.
173   * Fixed syscall flags of fstatat*, mmap, mmap2, fadvise64*, swapoff,
174     fgetxattr, flistxattr, fremovexattr, epoll_create, fallocate,
175     fanotify_init, and fanotify_mark syscalls.
176   * Fixed decoding of get[ug]id, gete[ug]id and setfs[ug]id return values.
177   * Fixed biarch support in IO dumping.
178   * Fixed raw exit_group decoding.
179   * Fixed decoding of file descriptors on 64-bit architectures.
180   * Fixed a corner case in waitpid handling.
181     (Addresses Red Hat bug #663547).
182   * Fixed stat64 decoding on mips
183     (Addresses Debian bug #599028).
184   * Fixed misleading italics in the manual page.
185     (Addresses Debian bug #589323).
186
187 Noteworthy changes in release 4.5.20 (2010-04-13)
188 =================================================
189
190 * Improvements
191   * Implemented decoding of new linux syscalls: inotify_init1, recvmmsg.
192   * Implemented basic decoding of new linux syscalls: preadv, pwritev,
193     rt_tgsigqueueinfo, perf_event_open.
194   * Enhanced decoding of recently added syscalls on non-x86 architectures
195     by replacing a bare decoder with elaborate parsers enabled earlier
196     for x86/x86-64.
197   * Implemented -C option to combine regular and -c output.
198     (Addresses Debian bug #466196)
199   * Enhanced decoding of mbind and mremap syscalls.
200   * Enhanced SOL_PACKET socket options decoding.
201   * Regenerated list of ioctl names from linux 2.6.33.
202   * Added TILE architecture support.
203
204 * Bug fixes
205   * Fixed build with Linux kernel headers 2.6.32-rc5+.
206     (Addresses Debian bug #560516 and Fedora bug #539044)
207   * Fixed build on mips.
208   * Fixed handling of Linux systems without struct statfs64.
209   * Fixed reporting signal mask by sigreturn on powerpc.
210   * Fixed potential stack buffer overflow in select decoder.
211     (Addresses Fedora bug #556678)
212   * Corrected msgsnd indirect ipccall decoding.
213   * Corrected decoding of 64bit syscalls.
214     (Addresses Debian bug #570603)
215   * Corrected getsockopt decoding on architectures where
216     sizeof(long) > sizeof(int).
217     (Addresses Debian bug #494844)
218   * Corrected decoding of epoll_pwait.
219     (Addresses Debian bug #513014)
220   * Corrected handling of killed threads.
221
222 Noteworthy changes in release 4.5.19 (2009-10-21)
223 =================================================
224
225 * Changes in behavior
226   * When command exits, strace now exits with the same exit status.
227     If command is terminated by a signal, strace terminates itself
228     with the same signal, so that strace can be used as a wrapper
229     process transparent to the invoking parent process.
230     When using -p option, the exit status of strace is zero unless
231     there was an unexpected error in doing the tracing.
232     (Addresses Fedora bug #105371 and Debian bug #37665)
233
234 * Improvements
235   * Implemented decoding of new Linux syscalls: accept4, dup3,
236     epoll_create1, eventfd2, inotify_init1, pipe2, signalfd4.
237   * Implemented decoding of socket type flags introduced in Linux 2.6.27.
238   * Implemented decoding of accept4 socketcall.
239   * Enhanced prctl decoding.
240   * Enhanced nanosleep decoding.
241   * Enhanced ptrace decoding.
242   * Enhanced futex decoding.
243   * Enhanced CAP_* decoding.
244   * Enhanced SIOCS* ioctls decoding.
245   * Enhanced fcntl F_* flags decoding.
246   * Enhanced semop/semtimedop decoding.
247   * Updated ARM architecture support.
248   * Added Blackfin architecture support.
249   * Added AVR32 architecture support.
250   * Added CRIS architecture support.
251   * Made strace detect when traced process suddenly disappeared.
252
253 * Bug fixes
254   * Fixed syscall numbers for tee and sync_file_range.
255     (Addresses Debian bug #503124)
256   * Fixed several bugs in strings decoder, including potential heap
257     memory corruption.
258     (Addresses Fedora bugs #470529, #478324 and #511035)
259   * Marked sendfile(2) as a network syscall.
260     (Addresses Debian bug #509499)
261   * Fixed accept(2) decoding.
262     (Addresses Debian bug #507573)
263   * Fixed sigtimedwait(2) decoding.
264   * Fixed build on ARM EABI.
265     (Addresses Debian bugs #520084 and #535564, and Fedora bug #507576)
266   * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
267     (Addresses Red Hat bug #471169)
268   * Fixed display of 32-bit argv array on 64-bit architectures.
269     (Addresses Fedora bug #519480)
270   * Fixed display of 32-bit struct sigaction on 64-bit architectures.
271   * Fixed HPPA architecture support.
272     (Addresses Debian bugs #437928 and #546619)
273
274 Changes in 4.5.18
275 ==============
276 * Bug fixes.
277 * Support new Linux/PPC system call subpage_prot and PROT_SAO flag.
278 * In sigaction system call, display sa_flags value along with SIG_DFL/SIG_IGN.
279
280 Changes in 4.5.17
281 ==============
282 * Many bug fixes.
283 * -F is now deprecated, -f has traced vfork too on Linux for a long time now.
284 * Print O_CLOEXEC, MSG_CMSG_CLOEXEC flag bits.
285 * Improved output for prctl system call on Linux.
286 * Improved support for Linux/ARM.
287 * SA_NOMASK is now spelled SA_NODEFER, and SA_ONESHOT is spelled SA_RESETHAND.
288
289 Changes in 4.5.16
290 ==============
291 * Bug fixes.
292 * Improved output for delete_module, futex, and mbind system calls on Linux.
293 * Improved output for SG_IO ioctls on Linux.
294 * Support new Linux system calls move_pages, utimensat, signalfd, timerfd,
295   eventfd, getcpu, epoll_pwait.
296
297 Changes in 4.5.15
298 ==============
299 * Bug fixes.
300 * Several biarch improvements.
301 * Improved output for adjtimex, sysctl, quotactl, mount, umount.
302 * Support new Linux system calls *at, inotify*, pselect6, ppoll and unshare.
303
304 Changes in 4.5.14
305 ==============
306 * Bug fixes.
307 * Accept numeric system calls in -e.
308
309 Changes in 4.5.13
310 ==============
311 * Bug fixes.
312 * Introduce "-e trace=desc".
313
314 Changes in 4.5.12
315 ==============
316 * Bug fixes.
317 * Better x86-64 support for IA32 processes.
318 * Update PowerPC system calls.
319 * Better printing for Linux aio system calls.
320
321 Changes in 4.5.11
322 ==============
323 * Quick fix release for build issues.
324 * One fix for Linux/ARM system call table.
325
326 Changes in 4.5.10
327 ==============
328 * Bug fixes.
329 * Print fault address for SIGSEGV/SIGBUS signals when available.
330
331 Changes in 4.5.9
332 ==============
333 * Bug fixes.
334 * Improve socket ioctl printing.
335 * Update Linux/IA64 syscall list.
336 * Fix Linux/x86-64 syscall argument extraction for 32-bit processes.
337 * Improve mount flags printing.
338 * Support symbolic printing of x86_64 arch_prctl parameters.
339
340 Changes in 4.5.8
341 ==============
342 * Bug fixes.
343 * Update syscall tables for Alpha, ARM, HPPA.
344 * Support new Linux syscalls mbind, set_mempolicy, get_mempolicy, waitid.
345 * Support Linux syscalls fadvise64, fadvise64_64, and epoll_*.
346 * Improve ioctl command name matching.
347 * Print RTC_* ioctl structure contents.
348 * Support newer RLIMIT_* values.
349 * Print struct cmsghdr details in sendmsg.
350
351 Changes in 4.5.7
352 ==============
353 * Bug fixes.
354 * Print attribute values in *xattr system calls on Linux.
355 * Include pread and pwrite calls in -e read and -e write tracing.
356 * Update SO_* and IP_* value lists and add IPV6_* values for socket options.
357 * Print clock_t values symbolically in Linux clock_* system calls.
358
359 Changes in 4.5.6
360 ==============
361 * Bug fixes, Linux ioctl updates.
362 * David Miller contributed support for Linux/SPARC64.
363
364 Changes in 4.5.5
365 ==============
366 * Just bug fixes.
367
368 Changes in 4.5.4
369 ==============
370 * Update Linux ioctl lists.
371 * Update PF_* and AF_* value lists.
372 * The 4.5.3 -p behavior for NPTL threads applies only under -f, and got fixed.
373
374 Changes in 4.5.3
375 ==============
376 * Bug fixes.
377 * On Linux using NPTL threads, -p will now attach to all threads in a process.
378 * Handle new mq_* system calls in Linux 2.6.6 and later.
379
380 Changes in 4.5.2
381 ==============
382 * Bug fixes.
383 * Report some new VM_* bit values on Linux.
384 * Better output for Linux sched_* system calls.
385
386 Changes in 4.5.1
387 ==============
388 * Bug fixes.
389 * Display multiple ioctl name matches on Linux.
390
391 Changes in 4.5
392 ==============
393 * New port to AMD's x86-64 architecture. One strace binary can
394   handle both new x86-64 and old i386 processes.
395 * Fixed support for LFS64 calls.
396 * New switch -E to add/remove environment variables for the command.
397 * Merged s390/s390x port.
398 * Trace an unbounded number of processes.
399 * Handle numerous new system calls in Linux 2.5, and new threads semantics.
400 * Fixed bugs with attach/detach leaving things stopped.
401 * Fixed traced process seeing ECHILD despite live, traced children
402   in waitpid calls with WNOHANG.
403 * Stuart Menefy contributed a port to Linux/SH.
404 * Stephen Thomas contributed a port to Linux/SH64.
405 * Many other bug fixes.
406
407 Changes in 4.4
408 ==============
409 * Fix Linux/ia64 support, looks like someone renamed a few things on us
410 * Fix the ioctl setup for Linux, turned out it did not really work.
411   Improve the ioctl extracter as well so we decode some more ones.
412
413 Changes in 4.3.1
414 ================
415 * compile fixes for Linux/mips
416
417 Changes in 4.3
418 ==============
419 * Linux ia64 and hppa ports added
420 * The usual Linux syscall updates (includes 32bit uid/gid support),
421 * Linux ioctl list updated
422 * Support IPv6 scope ids
423 * FreeBSD/i386 port added
424 * UnixWare and Solaris updates
425 * Better support for tracing multithreaded processes in Linux
426
427 Changes in 4.2
428 ==============
429 * Compiles on glibc2.0 systems again
430 * Linux/S390 port added
431 * The usual Linux syscall updates
432 * we can follow fork on arm now
433
434 Changes in 4.1
435 ================
436 * Linux/MIPS port added
437 * Lots of Linux updates again
438 * Improved IPv6 support
439 * Add strace-graph
440
441 Changes in 4.0.1
442 ================
443 * Minor bugfixes
444 * Compiles on glibc2.0 systems again
445
446 Changes in 4.0
447 ==============
448 * Get stat structure properly on Linux 64bit archs
449 * Personalities work again
450 * Compile correctly on SunOS again
451 * IRIX64 updates
452 * Solaris updates
453
454 Changes in 3.99.1
455 =================
456 * Linux (ultra)sparc fixes
457 * Linux alpha fixes
458 * Minor cleanups
459
460 Changes in 3.99
461 ===============
462 * New maintainer
463 * add support for more Linux architectures (powerpc, sparc, arm)
464 * support lots more Linux syscalls
465 * fix signal handling
466 * add IPX and IPIP support
467 * check stray syscall after execv
468 * fix hanging children
469
470 Changes in version 3.1
471 ======================
472
473 * Irix5 is supported
474 * Linux 68k is supported
475 * Linux alpha is supported
476 * configure is upgraded to autoconf 2.x
477 * using -f in combination with -e now works correctly
478 * output can be piped to a program
479 * tracing setuid programs works better
480 * it is now reasonable to install strace setuid to root in some circumstances
481 * new useful tracing names like file and process to trace whole
482   classes of system calls, e.g. -efile traces all system calls that
483   take a file name as an argument
484 * IPC calls on SunOS 4.1.x are decoded
485 * Linux program memory is reliably dereferenced
486 * Linux decodes at least the name of all syscalls as of pre2.0.4
487 * various cosmetic changes and bug fixes
488
489 Changes from versions 2.x to version 3.0
490 ========================================
491
492 * filename arguments are neither abbreviated nor stringified
493 * string arguments are now true C strings using octal instead of hex by default
494 * preprocessor constants are never shortened (e.g. was RDONLY => now O_RDONLY)
495 * by default the output for multiple processes now goes into one file
496 * all structures, vectors, bitsets, etc. use consistent output formats
497 * the -c option now means count calls, -i does what the old -c used to do
498
499 New Features in version 3.0
500 ===========================
501
502 * non-ascii strings can be optionally printed entirely in hex
503 * the output format is readable when mutiple processes are generating output
504 * exit values are printed in an alignment column
505 * is is possible to suppress messages about attaching and detaching
506 * various tracing features can be enabled on a per syscall/signal/desc basis
507 * selective tracing of syscalls
508 * selective printing of syscall structures
509 * selective abbreviation of long structures on a per syscall basis
510 * selective printing of raw syscall arguments and results
511 * selective tracing of signals
512 * selective dumping of all I/O read from file descriptors
513 * selective dumping of all I/O written to file descriptors
514 * optional counting of time, calls, and errors for each syscall