mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Fix perftools-enabled build
This commit is contained in:
parent
a2e5251796
commit
cd066f09bf
1 changed files with 2 additions and 2 deletions
|
@ -26,10 +26,10 @@ int main(int argc, char** argv)
|
||||||
zeek::detail::profiling_logger->Log();
|
zeek::detail::profiling_logger->Log();
|
||||||
|
|
||||||
#ifdef USE_PERFTOOLS_DEBUG
|
#ifdef USE_PERFTOOLS_DEBUG
|
||||||
if ( perftools_leaks )
|
if ( options.perftools_check_leaks )
|
||||||
heap_checker = new HeapLeakChecker("net_run");
|
heap_checker = new HeapLeakChecker("net_run");
|
||||||
|
|
||||||
if ( perftools_profile )
|
if ( options.perftools_profile )
|
||||||
{
|
{
|
||||||
HeapProfilerStart("heap");
|
HeapProfilerStart("heap");
|
||||||
HeapProfilerDump("pre net_run");
|
HeapProfilerDump("pre net_run");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue