#include <stdlib.h>
#include <stdbool.h>
#include <pthread.h>
#include <string.h>
#include <limits.h>
#include <errno.h>
#include "agent-cilk.h"
#include <messages/messages.h>
Go to the source code of this file.
|
| LUSHCB_DECL (CB_malloc) |
|
| LUSHCB_DECL (CB_free) |
|
| LUSHCB_DECL (CB_step) |
|
| LUSHCB_DECL (CB_loadmap_find) |
|
static int | init_lcursor (lush_cursor_t *cursor) |
|
static unw_seg_t | classify_by_unw_segment (cilk_cursor_t *csr) |
|
static unw_seg_t | peek_segment (lush_cursor_t *cursor) |
|
static bool | is_libcilk (void *addr, char *lm_buffer) |
|
static bool | is_cilkprogram (void *addr, char *lm_buffer) |
|
int | LUSHI_init (int argc, char **argv, lush_agentid_t aid, LUSHCB_malloc_fn_t malloc_fn, LUSHCB_free_fn_t free_fn, LUSHCB_step_fn_t step_fn, LUSHCB_loadmap_find_fn_t loadmap_fn) |
|
int | LUSHI_fini () |
|
char * | LUSHI_strerror (int code) |
|
int | LUSHI_reg_dlopen () |
|
bool | LUSHI_ismycode (void *addr) |
|
lush_step_t | LUSHI_step_bichord (lush_cursor_t *cursor) |
|
lush_step_t | LUSHI_step_pnote (lush_cursor_t *cursor) |
|
lush_step_t | LUSHI_step_lnote (lush_cursor_t *cursor) |
|
int | LUSHI_set_active_frame_marker () |
|
int | LUSHI_lip_destroy (lush_lip_t *lip) |
|
int | LUSHI_lip_eq (lush_lip_t *lip) |
|
int | LUSHI_lip_read () |
|
int | LUSHI_lip_write () |
|
bool | LUSHI_do_metric (uint64_t incrMetricIn, bool *doMetric, bool *doMetricIdleness, uint64_t *incrMetric, double *incrMetricIdleness) |
|
◆ LUSHCB_DECL
#define LUSHCB_DECL |
( |
|
FN | ) |
LUSH ## FN ## _fn_t FN |
◆ SET_LIP_AND_TY
#define SET_LIP_AND_TY |
( |
|
cl, |
|
|
|
lip, |
|
|
|
ty |
|
) |
| |
Value:if (!cl) { \
} \
else { \
\
\
ip_normalized_t ip = \
cilk_ip_set(lip, ip); \
}
static void * CILKFRM_PROC(CilkStackFrame *x)
const ip_normalized_t ip_normalized_NULL_lval
Definition at line 312 of file agent-cilk.c.
◆ classify_by_unw_segment()
◆ init_lcursor()
◆ is_cilkprogram()
bool is_cilkprogram |
( |
void * |
addr, |
|
|
char * |
lm_buffer |
|
) |
| |
|
static |
◆ is_libcilk()
bool is_libcilk |
( |
void * |
addr, |
|
|
char * |
lm_buffer |
|
) |
| |
|
static |
◆ LUSHCB_DECL() [1/4]
LUSHCB_DECL |
( |
CB_malloc |
| ) |
|
◆ LUSHCB_DECL() [2/4]
◆ LUSHCB_DECL() [3/4]
◆ LUSHCB_DECL() [4/4]
LUSHCB_DECL |
( |
CB_loadmap_find |
| ) |
|
◆ LUSHI_do_metric()
bool LUSHI_do_metric |
( |
uint64_t |
incrMetricIn, |
|
|
bool * |
doMetric, |
|
|
bool * |
doMetricIdleness, |
|
|
uint64_t * |
incrMetric, |
|
|
double * |
incrMetricIdleness |
|
) |
| |
◆ LUSHI_fini()
◆ LUSHI_init()
int LUSHI_init |
( |
int |
argc, |
|
|
char ** |
argv, |
|
|
lush_agentid_t |
aid, |
|
|
LUSHCB_malloc_fn_t |
malloc_fn, |
|
|
LUSHCB_free_fn_t |
free_fn, |
|
|
LUSHCB_step_fn_t |
step_fn, |
|
|
LUSHCB_loadmap_find_fn_t |
loadmap_fn |
|
) |
| |
◆ LUSHI_ismycode()
bool LUSHI_ismycode |
( |
void * |
addr | ) |
|
◆ LUSHI_lip_destroy()
◆ LUSHI_lip_eq()
◆ LUSHI_lip_read()
◆ LUSHI_lip_write()
◆ LUSHI_reg_dlopen()
◆ LUSHI_set_active_frame_marker()
int LUSHI_set_active_frame_marker |
( |
| ) |
|
◆ LUSHI_step_bichord()
◆ LUSHI_step_lnote()
◆ LUSHI_step_pnote()
◆ LUSHI_strerror()
char* LUSHI_strerror |
( |
int |
code | ) |
|
◆ peek_segment()
◆ ld_str
const char* ld_str = "ld-linux" |
|
static |
◆ lib_str
const char* lib_str = "lib" |
|
static |
◆ libcilk_str
const char* libcilk_str = "libcilk" |
|
static |
◆ MY_lush_aid