CPU profiler commands cannot find gperftools header files

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.4
    • Affects Version/s: 3.1.3
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • RPL 4 06/05/15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.
      

              Assignee:
              Siyuan Zhou
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: