47 #ifndef COMMON_SAMPLE_SOURCE_H 48 #define COMMON_SAMPLE_SOURCE_H 52 #define HPCRUN_PAPI_ERROR_UNAVAIL 1 53 #define HPCRUN_PAPI_ERROR_VERSION 2 55 void METHOD_FN(hpcrun_ss_add_event,
const char* ev);
56 void METHOD_FN(hpcrun_ss_store_event,
int event_id,
long thresh);
57 int METHOD_FN(hpcrun_ss_store_event_and_info,
int event_id,
long thresh,
58 int metric_id,
void *info);
59 void METHOD_FN(hpcrun_ss_store_metric_id,
int event_id,
int metric_id);
76 #endif // COMMON_SAMPLE_SOURCE_H void METHOD_FN(hpcrun_ss_add_event, const char *ev)
void hpcrun_save_papi_error(int error)
void hpcrun_ssfail_all_derived(char *source)
int hpcrun_event2metric(sample_source_t *ss, int event_idx)
void hpcrun_ssfail_unknown(char *event)
void hpcrun_ssfail_start(char *source)
void hpcrun_ssfail_none(void)
void hpcrun_ssfail_derived(char *source, char *event)
void hpcrun_ssfail_conflict(char *source, char *event)
void hpcrun_ssfail_unsupported(char *source, char *event)