summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2020-01-27 14:25:23 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-28 17:51:56 +0000
commit06858e82e3c1a192b09c14ef5e8862c8ae0eabf3 (patch)
tree3a510ebb81b57aad413fbc58cec5e97f7f19a724 /src/third_party
parentb0131213f0cfd47fdf9af52f43ec0e3b67efcd2e (diff)
downloadmongo-06858e82e3c1a192b09c14ef5e8862c8ae0eabf3.tar.gz
SERVER-45227 Remove tcmalloc based profiling support
delete mode 100644 src/mongo/db/commands/cpuprofile.cpp
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/gperftools-2.7/SConscript9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/third_party/gperftools-2.7/SConscript b/src/third_party/gperftools-2.7/SConscript
index c66f36a526c..e89bc0ce6c0 100644
--- a/src/third_party/gperftools-2.7/SConscript
+++ b/src/third_party/gperftools-2.7/SConscript
@@ -16,8 +16,6 @@ if use_libunwind:
],
)
env.InjectThirdParty(libraries=['unwind'])
-elif has_option('use-cpu-profiler'):
- env.FatalError("Compiling with --use-cpu-profiler requires --use-libunwind")
files = [
'src/base/dynamic_annotations.c',
@@ -67,13 +65,6 @@ else:
else:
files += ['src/debugallocation.cc']
-if has_option( 'use-cpu-profiler' ):
- files += [
- 'src/profile-handler.cc',
- 'src/profiledata.cc',
- 'src/profiler.cc',
- ]
-
env.Append(
CPPDEFINES=["NO_HEAP_CHECK"],
)