70 #define EMSG hpcrun_emsg 71 #define AMSG hpcrun_amsg 74 #define CTMSG(...) TMSG(__VA_ARGS__) 80 #define STDERR_MSG(...) 87 #else // ! NO_HPCRUN_MSGS 89 #define STDERR_MSG(...) hpcrun_stderr_log_msg(false,__VA_ARGS__) 90 #define EEMSG(...) hpcrun_stderr_log_msg(true,__VA_ARGS__) 92 #define PMSG(f,...) hpcrun_pmsg(DBG_PREFIX(f), NULL, __VA_ARGS__) 93 #define TMSG(f,...) if (debug_flag_get(DBG_PREFIX(f))) hpcrun_pmsg(#f, __VA_ARGS__) 95 #define ETMSG(f,...) hpcrun_pmsg_stderr(true,DBG_PREFIX(f), #f, __VA_ARGS__) 96 #define NMSG(f,...) if (debug_flag_get(DBG_PREFIX(f))) hpcrun_nmsg(DBG_PREFIX(f), #f, __VA_ARGS__) 97 #define ENMSG(f, ...) hpcrun_nmsg_stderr(true, DBG_PREFIX(f), #f, __VA_ARGS__) 98 #endif // NO_HPCRUN_MSGS 100 #define EXIT_ON_ERROR(r,e,...) hpcrun_exit_on_error(r,e,__VA_ARGS__) 102 #define hpcrun_abort(...) hpcrun_abort_w_info(messages_donothing, __VA_ARGS__) 118 extern void hpcrun_pmsg(
const char* tag,
const char *fmt,...);
121 const char *fmt,...);
123 const char *fmt,...);
void hpcrun_pmsg(const char *tag, const char *fmt,...)
void hpcrun_amsg(const char *fmt,...)
void hpcrun_exit_on_error(int ret, int ret_expected, const char *fmt,...)
void hpcrun_abort_w_info(void(*info)(void), const char *fmt,...)
void hpcrun_emsg(const char *fmt,...)
int hpcrun_below_pmsg_threshold(void)
void hpcrun_pmsg_stderr(bool echo_stderr, pmsg_category flag, const char *tag, const char *fmt,...)
void hpcrun_nmsg_stderr(bool echo_stderr, pmsg_category flag, const char *tag, const char *fmt,...)
void messages_logfile_create()
void hpcrun_nmsg(pmsg_category flag, const char *tag, const char *fmt,...)
void messages_donothing(void)
int messages_logfile_fd(void)
void hpcrun_emsg_valist(const char *fmt, va_list_box *box)
void hpcrun_stderr_log_msg(bool copy_to_log, const char *fmt,...)
void hpcrun_up_pmsg_count(void)