Reintroduce event groups

This started with reverting commit 52cd02173d
and then rewriting it to be per handler rather than handler identifier
and adding support for hooks as well as adding implicit module groups.
This commit is contained in:
Arne Welzel 2022-10-25 16:53:17 +02:00
parent 5aa7d80e88
commit 2ad609cbbb
30 changed files with 730 additions and 49 deletions

View file

@ -0,0 +1,9 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
HookModule::module_hook in MyModule, 1
HookModule::module_hook in MyOtherModule, 1
HookModule::module_hook in GLOBAL, 1
=== disable_module_events(MyModule)
HookModule::module_hook in MyOtherModule, 2
HookModule::module_hook in GLOBAL, 2
zeek_done in MyOtherModule
zeek_done in global