Delay setting the timestamp in the ktrace header until we've grabbed
authorguenther <guenther@openbsd.org>
Thu, 9 Feb 2023 08:00:31 +0000 (08:00 +0000)
committerguenther <guenther@openbsd.org>
Thu, 9 Feb 2023 08:00:31 +0000 (08:00 +0000)
commit9b865405c4f8bbf56f2ad171c37bdb691af4377b
treed29a1612761c12a25da35450d6705fc46537748e
parent7ef8dd0b759dda66652c48273961c5405a360b59
Delay setting the timestamp in the ktrace header until we've grabbed
the vnode, to eliminate misordering of ktrace records.

problem noted by jrick@
ok deraadt@
sys/kern/kern_ktrace.c