Description
scons --release --use-cpu-profiler mongod
|
When building with CPU profiler, header files cannot be found with the following error.
Compiling build/x86_64/release/mongo/db/commands/cpuprofile.o
|
src/mongo/db/commands/cpuprofile.cpp:50:33: fatal error: gperftools/profiler.h: No such file or directory
|
#include "gperftools/profiler.h"
|
^
|
compilation terminated.
|