CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/06/28 03:32:28
Modified files:
sys/dev/dt : dt_prov_static.c dtvar.h
sys/kern : kern_synch.c
sys/netinet : in_pcb.c ip_ipsp.c
sys/sys : refcnt.h tracepoint.h
Log message:
Use btrace(8) to debug reference counting. dt(4) provides a static
tracepoint for each type of refcnt we have. As a start, add inpcb
and tdb refcnt. When the counter changes, btrace may print the
actual object, the current counter, the change value and optionally
the stack trace.
discussed with visa@; OK mpi@