Extend scheduler tracepoints to follow CPU jumping.
authormpi <mpi@openbsd.org>
Mon, 14 Aug 2023 08:33:24 +0000 (08:33 +0000)
committermpi <mpi@openbsd.org>
Mon, 14 Aug 2023 08:33:24 +0000 (08:33 +0000)
commit9b3d5a4a61e736e632580cdab31293cbdf8b6a92
tree5de4da3e864e3bd06b8baf446d6ff7174c03f3f3
parentde232e1d14ba1a9c32917edf7e1166cea921d743
Extend scheduler tracepoints to follow CPU jumping.

- Add two new tracpoints sched:fork & sched:steal
- Include selected CPU number in sched:wakeup
- Add sched:unsleep corresponding to sched:sleep which matches add/removal
of threads on the sleep queue

ok claudio@
sys/dev/dt/dt_prov_static.c
sys/kern/kern_fork.c
sys/kern/kern_sched.c
sys/kern/kern_synch.c
sys/kern/sched_bsd.c