78 #define LUSHCB_DECL(FN) \ 79 LUSH ## FN ## _fn_t FN 98 LUSHCB_malloc_fn_t malloc_fn,
99 LUSHCB_free_fn_t free_fn,
100 LUSHCB_step_fn_t step_fn,
101 LUSHCB_loadmap_find_fn_t loadmap_fn)
105 CB_malloc = malloc_fn;
108 CB_loadmap_find = loadmap_fn;
156 assert(0 &&
"LUSHI_step_bichord: should never be called");
164 assert(0 &&
"LUSHI_step_pnote: should never be called");
172 assert(0 &&
"LUSHI_step_lnote: should never be called");
222 bool*
doMetric,
bool* doMetricIdleness,
223 uint64_t* incrMetric,
double* incrMetricIdleness)
226 *doMetricIdleness =
false;
227 *incrMetric = incrMetricIn;
228 *incrMetricIdleness = 0.0;
int LUSHI_lip_eq(lush_lip_t *lip)
int LUSHI_lip_destroy(lush_lip_t *lip)
bool LUSHI_ismycode(void *addr)
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)
lush_step_t LUSHI_step_lnote(lush_cursor_t *cursor)
#define doMetric(metricIdExpr, metricIncr, type)
lush_step_t LUSHI_step_pnote(lush_cursor_t *cursor)
char * LUSHI_strerror(int code)
lush_step_t LUSHI_step_bichord(lush_cursor_t *cursor)
static lush_agentid_t MY_lush_aid
bool LUSHI_do_metric(uint64_t incrMetricIn, bool *doMetric, bool *doMetricIdleness, uint64_t *incrMetric, double *incrMetricIdleness)
enum lush_step lush_step_t
int LUSHI_set_active_frame_marker()