ATLAS Offline Software
|
#include "CxxUtils/checker_macros.h"
#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdint>
#include <string.h>
#include <stdlib.h>
#include <gperftools/malloc_extension.h>
#include <gperftools/malloc_hook.h>
#include <gperftools/stacktrace.h>
#include "gperftools/tcmalloc.h"
Go to the source code of this file.
Functions | |
int | MallocHook_RemoveNewHook (MallocHook_NewHook) |
int | MallocHook_RemoveDeleteHook (MallocHook_DeleteHook) |
int | MallocHook_AddNewHook (MallocHook_NewHook) |
int | MallocHook_AddDeleteHook (MallocHook_DeleteHook) |
int | MallocHook_AddMmapHook (MallocHook_MmapHook) |
int | MallocHook_AddMunmapHook (MallocHook_MunmapHook) |
void | athena_NewHook (const void *ptr, size_t size) |
void | athena_DeleteHook (const void *ptr) |
void | athena_MmapHook (const void *, const void *, size_t, int, int, int, off_t) |
void | athena_MunmapHook (const void *, size_t) |
void | uninstall () |
void | my_init_tcmalloc () |
Variables | |
ATLAS_NO_CHECK_FILE_THREAD_SAFETY | |
void athena_DeleteHook | ( | const void * | ptr | ) |
Definition at line 81 of file memory_hooks-tcmalloc.h.
Definition at line 112 of file memory_hooks-tcmalloc.h.
void athena_MunmapHook | ( | const void * | , |
size_t | |||
) |
Definition at line 124 of file memory_hooks-tcmalloc.h.
void athena_NewHook | ( | const void * | ptr, |
size_t | size | ||
) |
Definition at line 60 of file memory_hooks-tcmalloc.h.
int MallocHook_AddDeleteHook | ( | MallocHook_DeleteHook | ) |
Definition at line 50 of file memory_hooks-tcmalloc.h.
int MallocHook_AddMmapHook | ( | MallocHook_MmapHook | ) |
Definition at line 53 of file memory_hooks-tcmalloc.h.
int MallocHook_AddMunmapHook | ( | MallocHook_MunmapHook | ) |
Definition at line 55 of file memory_hooks-tcmalloc.h.
int MallocHook_AddNewHook | ( | MallocHook_NewHook | ) |
Definition at line 48 of file memory_hooks-tcmalloc.h.
int MallocHook_RemoveDeleteHook | ( | MallocHook_DeleteHook | ) |
Definition at line 46 of file memory_hooks-tcmalloc.h.
int MallocHook_RemoveNewHook | ( | MallocHook_NewHook | ) |
Definition at line 44 of file memory_hooks-tcmalloc.h.
void my_init_tcmalloc | ( | ) |
Definition at line 136 of file memory_hooks-tcmalloc.h.
void uninstall | ( | ) |
Definition at line 130 of file memory_hooks-tcmalloc.h.
ATLAS_NO_CHECK_FILE_THREAD_SAFETY |
Definition at line 15 of file memory_hooks-tcmalloc.h.