Module Name: src Committed By: maxv Date: Fri May 15 13:09:02 UTC 2020
Modified Files: src/sys/kern: subr_kcov.c subr_lockdebug.c src/sys/sys: kcov.h Log Message: Introduce kcov_silence_enter() and kcov_silence_leave(), to allow to temporarily disable KCOV on the current lwp. Should be used in the rare but problematic cases where extreme noise is introduced by an uninteresting subsystem. Use this capability to silence KCOV during the LOCKDEBUG lookups. This divides the size of the KCOV output by more than two in my KCOV+vHCI tests. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/kern/subr_kcov.c cvs rdiff -u -r1.76 -r1.77 src/sys/kern/subr_lockdebug.c cvs rdiff -u -r1.8 -r1.9 src/sys/sys/kcov.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.