[Bro] How can I use the USE_PERFTOOLS_DEBUG ?
jdonnelly at dyn.com
Tue Jan 20 09:47:29 PST 2015
Leak check net_run detected leaks of 96678 bytes in 912 objects
The 20 largest leaks:
Leak of 17920 bytes in 35 objects allocated from:
What does @xxxxxx mean ? A function address ?
On Tue, Jan 20, 2015 at 9:49 AM, Robin Sommer <robin at icir.org> wrote:
> On Tue, Jan 20, 2015 at 09:23 -0600, John Donnelly wrote:
> > #ifdef USE_PERFTOOLS_DEBUG
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bro