HPCToolkit
loadmap.h File Reference
#include <stdio.h>
#include <lib/prof-lean/hpcio.h>
#include <lib/prof-lean/hpcfmt.h>
#include <lib/prof-lean/hpcrun-fmt.h>
#include "fnbounds_file_header.h"
Include dependency graph for loadmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dso_info_t
 
struct  load_module_t
 
struct  hpcrun_loadmap_t
 
struct  loadmap_notify_t
 

Typedefs

typedef struct dso_info_t dso_info_t
 
typedef struct load_module_t load_module_t
 
typedef struct hpcrun_loadmap_t hpcrun_loadmap_t
 
typedef void(* loadmap_notify_range_t) (void *start, void *end)
 
typedef struct loadmap_notify_t loadmap_notify_t
 

Functions

dso_info_thpcrun_dso_new ()
 
dso_info_thpcrun_dso_make (const char *name, void **table, struct fnbounds_file_header *fh, void *startaddr, void *endaddr, unsigned long map_size)
 
void hpcrun_dsoList_dump (dso_info_t *dl_list)
 
void hpcrun_dso_dump (dso_info_t *x)
 
load_module_thpcrun_loadModule_new (const char *name)
 
uint16_t hpcrun_loadModule_add (const char *name)
 
void hpcrun_loadmap_lock ()
 
void hpcrun_loadmap_unlock ()
 
int hpcrun_loadmap_isLocked ()
 
hpcrun_loadmap_thpcrun_loadmap_new ()
 
void hpcrun_loadmap_init (hpcrun_loadmap_t *x)
 
void hpcrun_loadmap_print (hpcrun_loadmap_t *loadmap)
 
load_module_thpcrun_loadmap_findByAddr (void *begin, void *end)
 
load_module_thpcrun_loadmap_findByName (const char *name)
 
load_module_thpcrun_loadmap_findById (uint16_t id)
 
const char * hpcrun_loadmap_findLoadName (const char *name)
 
load_module_thpcrun_loadmap_map (dso_info_t *dso)
 
void hpcrun_loadmap_unmap (load_module_t *lm)
 
void hpcrun_initLoadmap ()
 
hpcrun_loadmap_thpcrun_getLoadmap ()
 
void hpcrun_loadmap_notify_register (loadmap_notify_t *n)
 

Typedef Documentation

◆ dso_info_t

typedef struct dso_info_t dso_info_t

◆ hpcrun_loadmap_t

◆ load_module_t

typedef struct load_module_t load_module_t

◆ loadmap_notify_range_t

typedef void(* loadmap_notify_range_t) (void *start, void *end)

Definition at line 241 of file loadmap.h.

◆ loadmap_notify_t

Function Documentation

◆ hpcrun_dso_dump()

void hpcrun_dso_dump ( dso_info_t x)

Definition at line 183 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_dso_make()

dso_info_t* hpcrun_dso_make ( const char *  name,
void **  table,
struct fnbounds_file_header fh,
void *  startaddr,
void *  endaddr,
unsigned long  map_size 
)

Definition at line 130 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_dso_new()

dso_info_t* hpcrun_dso_new ( )

Definition at line 108 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_dsoList_dump()

void hpcrun_dsoList_dump ( dso_info_t dl_list)

Definition at line 174 of file loadmap.c.

Here is the call graph for this function:

◆ hpcrun_getLoadmap()

hpcrun_loadmap_t* hpcrun_getLoadmap ( )

Definition at line 501 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_initLoadmap()

void hpcrun_initLoadmap ( )

Definition at line 489 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_loadmap_findByAddr()

load_module_t* hpcrun_loadmap_findByAddr ( void *  begin,
void *  end 
)

Definition at line 261 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_findById()

load_module_t* hpcrun_loadmap_findById ( uint16_t  id)

Definition at line 301 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_findByName()

load_module_t* hpcrun_loadmap_findByName ( const char *  name)

Definition at line 287 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_findLoadName()

const char* hpcrun_loadmap_findLoadName ( const char *  name)

Definition at line 315 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_init()

void hpcrun_loadmap_init ( hpcrun_loadmap_t x)

Definition at line 237 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_isLocked()

int hpcrun_loadmap_isLocked ( )

◆ hpcrun_loadmap_lock()

void hpcrun_loadmap_lock ( )

◆ hpcrun_loadmap_map()

load_module_t* hpcrun_loadmap_map ( dso_info_t dso)

Definition at line 389 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_loadmap_new()

hpcrun_loadmap_t* hpcrun_loadmap_new ( )

Definition at line 221 of file loadmap.c.

Here is the call graph for this function:

◆ hpcrun_loadmap_notify_register()

void hpcrun_loadmap_notify_register ( loadmap_notify_t n)

Definition at line 74 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_print()

void hpcrun_loadmap_print ( hpcrun_loadmap_t loadmap)

Definition at line 251 of file loadmap.c.

Here is the caller graph for this function:

◆ hpcrun_loadmap_unlock()

void hpcrun_loadmap_unlock ( )

◆ hpcrun_loadmap_unmap()

void hpcrun_loadmap_unmap ( load_module_t lm)

Definition at line 433 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_loadModule_add()

uint16_t hpcrun_loadModule_add ( const char *  name)

Definition at line 476 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_loadModule_new()

load_module_t* hpcrun_loadModule_new ( const char *  name)

Definition at line 196 of file loadmap.c.

Here is the call graph for this function:
Here is the caller graph for this function: