freebsd-dev/usr.bin/truss
Bryan Drewery 6c61b0f324 Fix tracking of unknown syscalls for 'truss -c'.
This is done by changing get_syscall() to either lookup the known syscall
or add it into the list with the default handlers for printing.

This also simplifies some code to not have to check if the syscall variable
is set or NULL.

Reviewed by:	jhb
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D3792
2015-10-05 18:08:35 +00:00
..
aarch64-fbsd.c Add aarch64 support to truss(1). 2015-10-02 13:30:56 +00:00
amd64-cloudabi64.c Make truss print CloudABI system call names. 2015-10-02 11:17:15 +00:00
amd64-fbsd32.c Several changes to truss. 2015-09-30 19:13:32 +00:00
amd64-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
amd64-linux32.c Several changes to truss. 2015-09-30 19:13:32 +00:00
amd64cloudabi64.conf Make truss print CloudABI system call names. 2015-10-02 11:17:15 +00:00
amd64linux32.conf
arm-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
extern.h Several changes to truss. 2015-09-30 19:13:32 +00:00
fbsd32.conf
i386-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
i386-linux.c Several changes to truss. 2015-09-30 19:13:32 +00:00
i386.conf
i386linux.conf
main.c Fix tracking of unknown syscalls for 'truss -c'. 2015-10-05 18:08:35 +00:00
Makefile Make truss print CloudABI system call names. 2015-10-02 11:17:15 +00:00
Makefile.depend.amd64 new depends 2015-06-16 23:37:19 +00:00
mips-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
powerpc64-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
powerpc-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
setup.c Fix tracking of unknown syscalls for 'truss -c'. 2015-10-05 18:08:35 +00:00
sparc64-fbsd.c Several changes to truss. 2015-09-30 19:13:32 +00:00
syscall.h Fix tracking of unknown syscalls for 'truss -c'. 2015-10-05 18:08:35 +00:00
syscalls.c Fix tracking of unknown syscalls for 'truss -c'. 2015-10-05 18:08:35 +00:00
truss.1 Add -c option to summarize number of calls, errors, and system time. 2009-05-12 20:42:12 +00:00
truss.h Several changes to truss. 2015-09-30 19:13:32 +00:00