Make vmm(4/amd64) tracepoints amd64-only
authorkn <kn@openbsd.org>
Wed, 26 Jan 2022 06:31:31 +0000 (06:31 +0000)
committerkn <kn@openbsd.org>
Wed, 26 Jan 2022 06:31:31 +0000 (06:31 +0000)
commit4dfa972bbf3685b45a4b499794b077ec49b72b83
treeb5be8dabee3b7cf1de622d713d0c554f3d0822a7
parent68ade05f99eca50ec41031a9a0361b59306804ae
Make vmm(4/amd64) tracepoints amd64-only

One can use them on non-VMM architectures, but they obviously won't hit:

# arch -s ; btrace -l | grep vmm
sparc64
tracepoint:vmm:guest_enter
tracepoint:vmm:guest_exit

Move them under __amd64__ to avoid confusion and safe a few bytes.

OK dv
sys/dev/dt/dt_prov_static.c