#include "config.h"
#include <assert.h>
#include <string.h>
#include <pthread.h>
#include <stdio.h>
#include <stdint.h>
#include <string>
#include "google/perftools/hash_set.h"
#include "google/malloc_extension.h"
#include "maybe_threads.h"
型定義 | |
typedef HASH_NAMESPACE::hash_set< void **, StackTraceHash, StackTraceEqual > | StackTraceTable |
関数 | |
static void | InitModule () |
uintptr_t | Count (void **entry) |
uintptr_t | Size (void **entry) |
uintptr_t | Depth (void **entry) |
void * | PC (void **entry, int i) |
void | PrintHeader (string *result, const char *label, void **entries) |
void | PrintStackEntry (string *result, void **entry) |
変数 | |
static pthread_once_t | module_init = PTHREAD_ONCE_INIT |
static MallocExtension * | default_instance = NULL |
static MallocExtension * | current_instance = NULL |
typedef HASH_NAMESPACE::hash_set<void**, StackTraceHash, StackTraceEqual> StackTraceTable [static] |
tcmalloc-0.8/malloc_extension.cc の 198 行で定義されています。
uintptr_t @843::Count | ( | void ** | entry | ) | [static] |
tcmalloc-0.8/malloc_extension.cc の 145 行で定義されています。
参照元 MallocExtension::GetHeapGrowthStacks(), PrintHeader(), と PrintStackEntry().
uintptr_t @843::Depth | ( | void ** | entry | ) | [static] |
tcmalloc-0.8/malloc_extension.cc の 151 行で定義されています。
参照元 MallocExtension::GetHeapGrowthStacks(), PrintHeader(), と PrintStackEntry().
static void InitModule | ( | ) | [static] |
tcmalloc-0.8/malloc_extension.cc の 123 行で定義されています。
参照元 MallocExtension::instance(), と MallocExtension::Register().
void* @843::PC | ( | void ** | entry, | |
int | i | |||
) | [static] |
void @843::PrintHeader | ( | string * | result, | |
const char * | label, | |||
void ** | entries | |||
) | [static] |
void @843::PrintStackEntry | ( | string * | result, | |
void ** | entry | |||
) | [static] |
uintptr_t @843::Size | ( | void ** | entry | ) | [static] |
const size_t bucket_size = 4 [static] |
tcmalloc-0.8/malloc_extension.cc の 182 行で定義されています。
MallocExtension* current_instance = NULL [static] |
tcmalloc-0.8/malloc_extension.cc の 121 行で定義されています。
MallocExtension* default_instance = NULL [static] |
tcmalloc-0.8/malloc_extension.cc の 120 行で定義されています。
const size_t min_buckets = 8 [static] |
tcmalloc-0.8/malloc_extension.cc の 183 行で定義されています。
pthread_once_t module_init = PTHREAD_ONCE_INIT [static] |
tcmalloc-0.8/malloc_extension.cc の 119 行で定義されています。
参照元 MallocExtension::instance(), と MallocExtension::Register().