mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
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:
parent
007724cbca
commit
7347dfce01
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue