|
HPCToolkit
|
#include <stdlib.h>#include <string.h>#include <errno.h>#include <stdio.h>#include <dlfcn.h>#include <monitor.h>#include "lush.h"#include <lib/prof-lean/lush/lush-support.h>#include <unwind/common/unwind.h>#include <memory/hpcrun-malloc.h>
Go to the source code of this file.
Macros | |
| #define | CALL_DLSYM(BASE, X, ID, HANDLE) |
| #define | FN_TBL_ALLOC(BASE, FN, SZ) BASE->FN = (FN ## _fn_t *) hpcrun_malloc(sizeof(FN ## _fn_t) * (SZ)) |
| #define | FN_TBL_FREE(BASE, FN) /* free(BASE->FN) */ |
Functions | |
| static void | handle_any_dlerror () |
| int | lush_agent__init (lush_agent_t *x, int id, const char *path, lush_agent_pool_t *pool) |
| int | lush_agent__fini (lush_agent_t *x, lush_agent_pool_t *pool) |
| int | lush_agent_pool__init (lush_agent_pool_t *x, const char *path) |
| int | lush_agent_pool__fini (lush_agent_pool_t *x) |
| void | lush_init_unw (lush_cursor_t *cursor, lush_agent_pool_t *apool, ucontext_t *context) |
| lush_step_t | lush_step_bichord (lush_cursor_t *cursor) |
| lush_step_t | lush_step_pnote (lush_cursor_t *cursor) |
| lush_step_t | lush_step_lnote (lush_cursor_t *cursor) |
| lush_step_t | lush_step_pchord (lush_cursor_t *cursor) |
| lush_step_t | lush_forcestep_pnote (lush_cursor_t *cursor) |
| #define CALL_DLSYM | ( | BASE, | |
| X, | |||
| ID, | |||
| HANDLE | |||
| ) |
| #define FN_TBL_ALLOC | ( | BASE, | |
| FN, | |||
| SZ | |||
| ) | BASE->FN = (FN ## _fn_t *) hpcrun_malloc(sizeof(FN ## _fn_t) * (SZ)) |
| #define FN_TBL_FREE | ( | BASE, | |
| FN | |||
| ) | /* free(BASE->FN) */ |
|
static |
| int lush_agent__fini | ( | lush_agent_t * | x, |
| lush_agent_pool_t * | pool | ||
| ) |
| int lush_agent__init | ( | lush_agent_t * | x, |
| int | id, | ||
| const char * | path, | ||
| lush_agent_pool_t * | pool | ||
| ) |
| int lush_agent_pool__fini | ( | lush_agent_pool_t * | x | ) |
| int lush_agent_pool__init | ( | lush_agent_pool_t * | x, |
| const char * | path | ||
| ) |
| lush_step_t lush_forcestep_pnote | ( | lush_cursor_t * | cursor | ) |
| void lush_init_unw | ( | lush_cursor_t * | cursor, |
| lush_agent_pool_t * | apool, | ||
| ucontext_t * | context | ||
| ) |
| lush_step_t lush_step_bichord | ( | lush_cursor_t * | cursor | ) |
| lush_step_t lush_step_lnote | ( | lush_cursor_t * | cursor | ) |
| lush_step_t lush_step_pchord | ( | lush_cursor_t * | cursor | ) |
| lush_step_t lush_step_pnote | ( | lush_cursor_t * | cursor | ) |