freebsd-skq/usr.bin/truss
Konstantin Belousov 2b34e84335 Add abstime kqueue(2) timers and expand struct kevent members.
This change implements NOTE_ABSTIME flag for EVFILT_TIMER, which
specifies that the data field contains absolute time to fire the
event.

To make this useful, data member of the struct kevent must be extended
to 64bit.  Using the opportunity, I also added ext members.  This
changes struct kevent almost to Apple struct kevent64, except I did
not changed type of ident and udata, the later would cause serious API
incompatibilities.

The type of ident was kept uintptr_t since EVFILT_AIO returns a
pointer in this field, and e.g. CHERI is sensitive to the type
(discussed with brooks, jhb).

Unlike Apple kevent64, symbol versioning allows us to claim ABI
compatibility and still name the new syscall kevent(2).  Compat shims
are provided for both host native and compat32.

Requested by:	bapt
Reviewed by:	bapt, brooks, ngie (previous version)
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D11025
2017-06-17 00:57:26 +00:00
..
aarch64-cloudabi64.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
aarch64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-cloudabi64.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-freebsd32.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-linux32.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
amd64-linux.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
arm-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
extern.h Move mksubr from kdump into libsysdecode. 2016-10-17 22:37:07 +00:00
i386-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
i386-linux.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
main.c Move mksubr from kdump into libsysdecode. 2016-10-17 22:37:07 +00:00
Makefile Adopt SRCTOP in usr.bin 2017-03-12 18:58:44 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
mips-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
powerpc64-freebsd32.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
powerpc64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
powerpc-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
riscv64-freebsd.c Add RISC-V support for truss(1) 2017-01-24 09:41:44 +00:00
setup.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
sparc64-freebsd.c Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00
syscall.h Decode arguments to sched_* family of system calls. 2017-06-16 20:03:09 +00:00
syscalls.c Add abstime kqueue(2) timers and expand struct kevent members. 2017-06-17 00:57:26 +00:00
truss.1 Add support for displaying thread IDs to truss(1). 2016-02-23 19:56:29 +00:00
truss.h Rework syscall structure lookups. 2016-12-06 00:39:00 +00:00