]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - usr.bin/truss/syscall.h
MFC 295677,295678:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 Apr 2016 15:25:17 +0000 (15:25 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 Apr 2016 15:25:17 +0000 (15:25 +0000)
commit93410f47c745ed743af5d4d50efd28960e720636
tree2fef9907fdf722e7891658600e26dce09df828bb
parentfc1b27ccde6c6c8f306cc80707727561008fc018
MFC 295677,295678:
Fetch the current thread and it's syscall state from the trussinfo object
instead of passing some of that state as arguments to print_syscall() and
print_syscallret().  This just makes the calls of these functions shorter
and easier to read.

git-svn-id: svn://svn.freebsd.org/base/stable/10@298410 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.bin/truss/setup.c
usr.bin/truss/syscall.h
usr.bin/truss/syscalls.c