mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 05:28:20 +00:00
Generate --event-trace output explicitly rather than in EventTraceMgr destructor
This commit is contained in:
parent
6b6c3dbbb7
commit
f5c1a32d8d
3 changed files with 7 additions and 2 deletions
|
@ -440,7 +440,9 @@ private:
|
|||
class EventTraceMgr {
|
||||
public:
|
||||
EventTraceMgr(const std::string& trace_file);
|
||||
~EventTraceMgr();
|
||||
|
||||
// Generates the trace upon exit.
|
||||
void Generate();
|
||||
|
||||
// Called at the beginning of invoking an event's handlers.
|
||||
void StartEvent(const ScriptFunc* ev, const zeek::Args* args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue