freebsd-dev/usr.bin/kdump
John Baldwin 54b10c9e17 Use timercmp() and timersub() in kdump.
Previously, kdump used the kernel-only timervalsub() macro which required
defining _KERNEL when including <sys/time.h>.  Now, kdump uses the existing
userland API.  The timercmp() usage to check for a backwards timestamp is
also clearer and simpler than the previous code which checked the result of
the subtraction for a negative value.

While here, take advantage of the 3-arg timersub() to store the subtraction
results in a tempory timeval instead of overwriting the timestamp in the
ktrace record and then having to restore it.
2016-10-01 22:12:33 +00:00
..
kdump.1 Add `-S' to display syscall numbers in the output as well. 2014-03-28 16:11:20 +00:00
kdump.c Use timercmp() and timersub() in kdump. 2016-10-01 22:12:33 +00:00
Makefile Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
Makefile.depend Update dependencies. 2016-02-26 22:14:15 +00:00
mksubr Decode the arguments passed to _umtx_op(). In particular, decode the 2014-10-13 16:37:06 +00:00