patch review: import tslog(4) event tracing facility from FreeBSD

Emile `iMil' Heitor <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
This patch https://imil.net/NetBSD/tslog.patch is a port of FreeBSD's
tslog(4) which permits to ease pinpointing parts of the kernel and
userland where the most time is spent.

This tracing facility is what allowed to reduce NetBSD kernel boot
time as it gives the ability to produce flamegraphs like this one
https://imil.net/NetBSD/tslog-10052025.svg and see what functions are
taking the most time.

------------------------------------------------------------------------
Emile `iMil' Heitor <imil@{home.imil.net,NetBSD.org}> | https://imil.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.