freebsd-dev/usr.bin/truss
John Baldwin b9befd33b4 Use ptrace(2) LWP events to track threads reliably in truss.
- truss can now log the system call invoked by a thread during a
  voluntary process exit.  No return value is logged, but the value passed
  to exit() is included in the trace output.  Arguments passed to thread
  exit system calls such as thr_exit() are not logged as voluntary thread
  exits cannot be distinguished from involuntary thread exits during a
  system call.
- New events are now reported for thread births and exits similar to the
  recently added events for new child processes when following forks.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D5561
2016-03-09 18:45:41 +00:00
..
aarch64-cloudabi64.c Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
aarch64-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
amd64-cloudabi64.c Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
amd64-freebsd32.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
amd64-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
amd64-linux32.c Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
arm-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
extern.h Add support for displaying thread IDs to truss(1). 2016-02-23 19:56:29 +00:00
i386-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
i386-linux.c Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
main.c Add support for displaying thread IDs to truss(1). 2016-02-23 19:56:29 +00:00
Makefile Add handling for non-native error values to libsysdecode. 2016-02-23 20:00:55 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
makesyscallsconf.sh Simplify syscall generation and ABI source file handling for the build. 2015-10-13 18:23:51 +00:00
mips-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
powerpc64-freebsd32.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
powerpc64-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
powerpc-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
setup.c Use ptrace(2) LWP events to track threads reliably in truss. 2016-03-09 18:45:41 +00:00
sparc64-freebsd.c Add a SYSDECODE_ABI_ prefix to the ABI enums to avoid potential collisions. 2016-01-30 01:00:54 +00:00
syscall.h Fetch the current thread and it's syscall state from the trussinfo object 2016-02-16 22:00:01 +00:00
syscalls.c Use ptrace(2) LWP events to track threads reliably in truss. 2016-03-09 18:45:41 +00:00
truss.1 Add support for displaying thread IDs to truss(1). 2016-02-23 19:56:29 +00:00
truss.h Use ptrace(2) LWP events to track threads reliably in truss. 2016-03-09 18:45:41 +00:00