[SERVER-18806] CPU profiler commands cannot find gperftools header files Created: 03/Jun/15  Updated: 25/Jan/17  Resolved: 03/Jun/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.1.3
Fix Version/s: 3.1.4

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Siyuan Zhou
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: RPL 4 06/05/15
Participants:

 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.



 Comments   
Comment by Githook User [ 03/Jun/15 ]

Author:

{u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}

Message: SERVER-18806 CPU profiler commands cannot find gperftools header files.
Branch: master
https://github.com/mongodb/mongo/commit/af4b4eb09803df3d11ec60bc948b6a2ef32cf8a5

Generated at Thu Feb 08 03:48:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.