Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-18806

CPU profiler commands cannot find gperftools header files

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

      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@mongodb.com Siyuan Zhou
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: