HPCToolkit
override.c File Reference
#include <assert.h>
#include <signal.h>
#include <stdlib.h>
#include <messages/messages.h>
Include dependency graph for override.c:

Go to the source code of this file.

Functions

void * __real_calloc (size_t nmemb, size_t size)
 
void * __real_malloc (size_t size)
 
void * __real_realloc (void *ptr, size_t size)
 
void * __wrap_calloc (size_t nmemb, size_t size)
 
void * __wrap_realloc (void *ptr, size_t size)
 
void * __wrap_malloc (size_t s)
 
void * __wrap_pthread_create (void *dc)
 

Variables

int _hpcrun_in_malloc = 0
 
int hpcrun_need_more = 0
 

Function Documentation

◆ __real_calloc()

void* __real_calloc ( size_t  nmemb,
size_t  size 
)
Here is the caller graph for this function:

◆ __real_malloc()

void* __real_malloc ( size_t  size)
Here is the caller graph for this function:

◆ __real_realloc()

void* __real_realloc ( void *  ptr,
size_t  size 
)
Here is the caller graph for this function:

◆ __wrap_calloc()

void* __wrap_calloc ( size_t  nmemb,
size_t  size 
)

Definition at line 77 of file override.c.

Here is the call graph for this function:

◆ __wrap_malloc()

void* __wrap_malloc ( size_t  s)

Definition at line 89 of file override.c.

Here is the call graph for this function:

◆ __wrap_pthread_create()

void* __wrap_pthread_create ( void *  dc)

Definition at line 103 of file override.c.

◆ __wrap_realloc()

void* __wrap_realloc ( void *  ptr,
size_t  size 
)

Definition at line 80 of file override.c.

Here is the call graph for this function:

Variable Documentation

◆ _hpcrun_in_malloc

int _hpcrun_in_malloc = 0

Definition at line 86 of file override.c.

◆ hpcrun_need_more

int hpcrun_need_more = 0

Definition at line 87 of file override.c.