added new Cluster:: BiFs to script optimization tracking

This commit is contained in:
Vern Paxson 2024-11-30 08:36:39 -08:00
parent a2a47ba334
commit 2a9c1d900f
3 changed files with 11 additions and 1 deletions

View file

@ -72,6 +72,11 @@ static std::unordered_map<std::string, unsigned int> func_attrs = {
{"Analyzer::__register_for_port", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Analyzer::__schedule_analyzer", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Analyzer::__tag", ATTR_FOLDABLE},
{"Cluster::Backend::__init", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::__subscribe", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::__unsubscribe", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::make_event", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Cluster::publish", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"FileExtract::__set_limit", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Files::__add_analyzer", ATTR_NO_SCRIPT_SIDE_EFFECTS},
{"Files::__analyzer_enabled", ATTR_NO_ZEEK_SIDE_EFFECTS},

View file

@ -1,2 +1,2 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
534 seen BiFs, 0 unseen BiFs (), 0 new BiFs ()
539 seen BiFs, 0 unseen BiFs (), 0 new BiFs ()

View file

@ -95,6 +95,11 @@ global known_BiFs = set(
"Broker::__vector_size",
"Broker::make_event",
"Broker::publish",
"Cluster::Backend::__init",
"Cluster::__subscribe",
"Cluster::__unsubscribe",
"Cluster::make_event",
"Cluster::publish",
"Cluster::publish_hrw",
"Cluster::publish_rr",
"FileExtract::__set_limit",