Skip to content

Commit

Permalink
SERVER-8995 changed gperftools version in build configuration and sou…
Browse files Browse the repository at this point in the history
…rce files from 2.0 to 2.2
  • Loading branch information
benety committed Jun 5, 2014
1 parent 8da74f7 commit ddc13e7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/mongo/db/commands/cpuprofile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* --cpppath=/usr/local/include --libpath=/usr/local/lib
*/

#include "third_party/gperftools-2.0/src/gperftools/profiler.h"
#include "third_party/gperftools-2.2/src/gperftools/profiler.h"

#include <string>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion src/mongo/util/tcmalloc_server_status_section.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#include "mongo/platform/basic.h"

#include <third_party/gperftools-2.0/src/gperftools/malloc_extension.h>
#include <third_party/gperftools-2.2/src/gperftools/malloc_extension.h>

#include "mongo/db/commands/server_status.h"

Expand Down
4 changes: 2 additions & 2 deletions src/third_party/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ elif use_system_version_of_library("tcmalloc"):
env['LIBDEPS_TCMALLOC_SYSLIBDEP']
] )
else:
env.SConscript('gperftools-2.0/SConscript')
env.SConscript('gperftools-2.2/SConscript')
env.Library('shim_allocator', 'shim_allocator.cpp',
LIBDEPS=['gperftools-2.0/tcmalloc_minimal'])
LIBDEPS=['gperftools-2.2/tcmalloc_minimal'])

if use_system_version_of_library("stemmer"):
env.Library("shim_stemmer", ['shim_stemmer.cpp'],
Expand Down

0 comments on commit ddc13e7

Please sign in to comment.