The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=7347dfce0139d0faaa45d45c50586e4cf5d7104b
commit 7347dfce0139d0faaa45d45c50586e4cf5d7104b Author: Colin Percival <cperc...@freebsd.org> AuthorDate: 2021-09-05 19:45:29 +0000 Commit: Colin Percival <cperc...@freebsd.org> CommitDate: 2021-09-05 19:45:29 +0000 Add run_interrupt_driven_config_hooks to TSLOG The 'intr_config_hooks' SYSINIT is now taking a nontrivial amount of time in my profiling; run_interrupt_driven_config_hooks is responsible for most of it, so this adds useful information to the resulting flamecharts. --- sys/kern/subr_autoconf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/kern/subr_autoconf.c b/sys/kern/subr_autoconf.c index f6039e34e29f..f87d99bbedcf 100644 --- a/sys/kern/subr_autoconf.c +++ b/sys/kern/subr_autoconf.c @@ -121,6 +121,7 @@ run_interrupt_driven_config_hooks() static int running; struct intr_config_hook *hook_entry; + TSENTER(); mtx_lock(&intr_config_hook_lock); /* @@ -146,6 +147,7 @@ run_interrupt_driven_config_hooks() running = 0; mtx_unlock(&intr_config_hook_lock); + TSEXIT(); } static void _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"