mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
--event-trace / -E option to generate event trace
This commit is contained in:
parent
39cbd7a9dc
commit
ecd273c3ca
3 changed files with 16 additions and 5 deletions
|
@ -670,6 +670,9 @@ SetupResult setup(int argc, char** argv, Options* zopts)
|
|||
};
|
||||
auto ipbb = make_intrusive<BuiltinFunc>(init_bifs, ipbid->Name(), false);
|
||||
|
||||
if ( options.event_trace_file )
|
||||
etm = make_unique<EventTraceMgr>(*options.event_trace_file);
|
||||
|
||||
run_state::is_parsing = true;
|
||||
yyparse();
|
||||
run_state::is_parsing = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue