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.
This commit is contained in:
Colin Percival 2021-09-05 12:45:29 -07:00
parent 007724cbca
commit 7347dfce01

View File

@ -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