fixes for ZAM profiling, which didn't get fully integrated originally

This commit is contained in:
Vern Paxson 2022-02-03 08:59:39 -08:00
parent 94e71b738a
commit 16e9af137f
4 changed files with 27 additions and 2 deletions

View file

@ -185,6 +185,9 @@ extern bool should_analyze(const ScriptFuncPtr& f, const StmtPtr& body);
// Analyze all of the parsed scripts collectively for optimization.
extern void analyze_scripts();
// Called when Zeek is terminating.
extern void finish_script_execution();
// Used for C++-compiled scripts to signal their presence, by setting this
// to a non-empty value.
extern void (*CPP_init_hook)();