CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2025/07/21 14:36:41
Modified files: sys/dev/dt : dt_prov_static.c sys/kern : kern_rwlock.c subr_pool.c uipc_socket.c sys/net : if.c sys/sys : rwlock.h Log message: Add dt(4) trace points to rwlock(9). To analyze lock contention, add tracepoints ro read/write lock implementation. This is done similar to reference count tracing. The trace points have arguments that allow filtering by read/write and immediately/spinning/sleeping/failed lock. For now, net lock and socket lock are enhanced. To activate the feature for additional locks, use the initializer with _trace suffix. OK mvs@