mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Merge remote-tracking branch 'origin/topic/vern/script-profiling'
* origin/topic/vern/script-profiling: tidy up after generating profile test suite updates for refined script coverage, use of new BiF to speed startup fix for coverage reporting for functions that use "when" statements new global_options() BiF to speed up startup, plus a micro-preen hooks for new --profile-scripts option classes for managing script profiles address some holes in script coverage fix for script coverage missing on-exit activity memory management fixes for loggers make curr_CPU_time() broadly available rather than just isolated to ZAM
This commit is contained in:
commit
8b0263cb39
22 changed files with 505 additions and 76 deletions
|
@ -162,13 +162,7 @@ event zeek_init() &priority=10
|
|||
@if ( !Cluster::is_enabled() || Cluster::local_node_type() == Cluster::MANAGER )
|
||||
# Iterate over all existing options and add ourselves as change handlers
|
||||
# with a low priority so that we can log the changes.
|
||||
local gids = global_ids();
|
||||
for ( i, gid in gids )
|
||||
{
|
||||
if ( ! gid$option_value )
|
||||
next;
|
||||
|
||||
Option::set_change_handler(i, config_option_changed, -100);
|
||||
}
|
||||
for ( opt in global_options() )
|
||||
Option::set_change_handler(opt, config_option_changed, -100);
|
||||
@endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue