[Bro] How can I use the USE_PERFTOOLS_DEBUG ?

Robin Sommer robin at icir.org
Tue Jan 20 07:49:20 PST 2015

On Tue, Jan 20, 2015 at 09:23 -0600, John Donnelly wrote:


What this does is activating perftool's HeapChecker/HeapProfiler
during Bro's main loop (i.e., ignoring of all initialization/shutdown
code, which has known but uninteresting leaks). If you then set the
environment variable HEAPCHECK=local and run Bro with -m, it will
record leaks per
Similar for heap profiling.

Take a look at the tests in testing/btest/core/leaks, they use this.


Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin

More information about the Bro mailing list