summaryrefslogtreecommitdiff
path: root/src/static_vars.cc
diff options
context:
space:
mode:
authorcsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-05-19 21:37:12 +0000
committercsilvers <csilvers@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2011-05-19 21:37:12 +0000
commit8c7d2289d24f7a49f1f6f60d4a6eaee06fa04c60 (patch)
tree204112b581d072707fe939f77a9b93a520e1028b /src/static_vars.cc
parent1d30e525ae6ac38ae381bb3118f7f47998af2942 (diff)
downloadgperftools-8c7d2289d24f7a49f1f6f60d4a6eaee06fa04c60.tar.gz
* Fix typos in comment in profiler.h (nrhodes)
* #include fixes (jyrki) * Add missing stddef.h for ptrdiff_t (mec) * Add M{,un}mapReplacement hooks into MallocHook (ribrdb) * Force big alloc in frag test (ruemmler) * PERF: Increase the size class cache to 64K entries (ruemmler) * PERF: Increase the transfer cache by 16x (ruemmler) * Use windows intrinsic to get the tsc (csilvers) * Rename atomicops-internals-x86-msvc.h->windows.h (csilvers) * Remove flaky DEATH test in malloc_hook_test (ppluzhnikov) * Expose internal ReadStackTraces()/etc (lantran) * Refactored system allocator logic (gangren) * Include-what-you-use: cleanup tcmalloc #includes (csilvers) * Don't set kAddressBits to 48 on 32-bit systems (csilvers) * Add declaration for __rdtsc() for windows (koda) * Don't revert to system alloc for expected errors (gangren) * Add TCMALLOC_SMALL_BUT_SLOW support (ruemmler) * Clarify that tcmalloc stats are MiB (robinson) * Avoid setting cpuinfo_cycles_per_second to 0 (koda) * Fix frag_unittest memory calculations (ruemmler) * Remove support for non-tcmalloc debugallocation (blount) * Add malloc_hook_test (llib) * Change the objcopy -W test to be cross-friendly (mcgrathr) * Export __tcmalloc in addition to _tcmalloc, for 86_64 (csilvers) git-svn-id: http://gperftools.googlecode.com/svn/trunk@109 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
Diffstat (limited to 'src/static_vars.cc')
-rw-r--r--src/static_vars.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/static_vars.cc b/src/static_vars.cc
index 18d5146..2ca132e 100644
--- a/src/static_vars.cc
+++ b/src/static_vars.cc
@@ -31,7 +31,10 @@
// Author: Ken Ashcraft <opensource@google.com>
#include "static_vars.h"
-#include "sampler.h" // for the init function
+#include <stddef.h> // for NULL
+#include <new> // for operator new
+#include "internal_logging.h" // for CHECK_CONDITION
+#include "sampler.h" // for Sampler
namespace tcmalloc {